Skip to main content

Jira Watchers

Jira watchers sync selected Jira Cloud issues into Synth as live work context. Use them for roadmap intent, operational status, blockers, decisions, comments, and status history. Use Git watchers for implementation truth.

Synth preserves those roles in retrieved evidence: Jira can show what was planned, blocked, or marked Done, but Git or implementation docs must support claims that something is actually implemented. The connected agent is responsible for reasoning across those sources.

Setup​

  1. In Settings -> Credentials, create a jira_api_token credential with your Atlassian email and Jira API token.
  2. Open Watchers and choose Jira.
The New Watcher dialog showing Git, Jira, and Slack as ready watcher types.
Choose Jira when the source should describe work intent, status, blockers, and decisions rather than implementation truth.
  1. Select the credential, enter the Jira Cloud site URL, and choose a safe JQL preset or write custom JQL.
The Jira watcher Connect section with a watcher name, saved Jira credential, and Jira site URL.
Use a saved Jira API token credential and the Jira Cloud site URL; the token stays in the credential store.
  1. Preview the scope before saving.
The Jira watcher Scope section showing JQL and a preview of sampled matching issues.
Preview the JQL before saving so the watcher syncs only the issues you intend.
  1. Choose content and privacy options, then create the watcher.
The Jira watcher Sync section with interval, issue limit, removed issue policy, and user display controls.
Tune polling frequency, the initial issue cap, removed-issue behavior, and user display before starting the watcher.
The Jira watcher Content and privacy section with comments, status history, and email controls.
Choose how much comment and status-history context to render, and keep email capture off unless it is explicitly required.

The API token is stored only as a credential. Watcher config, exports, cards, logs, and API responses do not include the token.

Scope And Content​

Use bounded JQL for v1 watchers, for example:

updated >= -30d ORDER BY updated DESC

Useful options:

OptionUI valueAPI/CaSC if omittedPurpose
poll_interval300300Seconds between polls.
max_initial_issues200200Initial sync cap.
comments.modelatestoffInclude no comments, latest comments, or all comments.
comments.limit200 when comments are offMaximum comments rendered.
changelog.enabledtruefalseInclude status/history entries.
changelog.limit500 when changelog is disabledMaximum status/history entries rendered.
privacy.user_displaydisplay_namedisplay_nameRender names, account IDs, or hide users.
privacy.include_emailsfalsefalseKeep emails out of snapshots by default.
removed_issue_policyretireretireKeep, retire, or tombstone issues that leave scope.

The guided UI turns latest comments and status history on for a newly created Jira watcher. API and CaSC callers should set comments and changelog explicitly when they want those fields; omitted options stay conservative.

Snapshots are deterministic Markdown under raw/watchers/jira/<watcher-id>/. Each issue uses a stable source ID based on Jira site identity and issue ID, so updates refresh the same source rather than duplicating knowledge.

CaSc​

watchers:
roadmap:
type: jira
repo: https://example.atlassian.net
credential: jira-prod
interval: 300
auto_start: true
auto_sync: true
config:
jql: 'project = ABC AND updated >= -30d ORDER BY updated DESC'
max_initial_issues: 200
removed_issue_policy: keep
comments:
mode: latest
limit: 10
changelog:
enabled: true
limit: 25
privacy:
user_display: display_name
include_emails: false

Exports use the same safe shape and keep secrets in the credential store. auto_sync is a top-level watcher policy in CaSC and is independent from the auto_start restart policy.

Refresh And Sync​

Refresh enumerates the configured JQL scope and reports additions, updates, and issues that left scope without applying the configured removal policy or updating published knowledge. If the result reaches max_initial_issues, Synth marks it incomplete and disables Sync instead of treating an unobserved issue as removed.

Sync checks Jira again, then applies changes through the existing durable publication and checkpoint path. Full refresh is hidden because normal Jira Refresh already performs the complete supported comparison. Auto-sync controls whether scheduled Jira checks publish detected changes. With Auto-sync off, checks continue and the card can report Changes pending until a user selects Sync. Use the card switch to turn Auto-sync on or off, and select Edit automation to change the polling interval. auto_start remains the separate restart policy. See Watchers for the shared watcher controls.

Issues That Leave Scope​

When an issue leaves the configured JQL scope:

  • keep preserves it as historical Jira context and marks it out of scope.
  • retire retires Jira source support while preserving pages that still have live support from other sources.
  • tombstone retires Jira support and archives zero-support Jira-owned pages instead of deleting them.

The watcher does not advance its checkpoint until ingestion and publication succeed. Pending issue snapshots replay after restart.

API​

Set your deployment URL:

export SYNTH_URL=https://synth.example.com

Preview scope:

curl -H "Authorization: Bearer $SYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site_url":"https://example.atlassian.net","credential_id":"jira-prod","jql":"updated >= -30d ORDER BY updated DESC"}' \
$SYNTH_URL/api/watchers/preview-jira

Create:

curl -H "Authorization: Bearer $SYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"watcher_type":"jira","watcher_id":"roadmap","credential_id":"jira-prod","config":{"site_url":"https://example.atlassian.net","jql":"updated >= -30d ORDER BY updated DESC","poll_interval":300,"comments":{"mode":"latest","limit":10},"changelog":{"enabled":true}}}' \
$SYNTH_URL/api/watchers

Manual checks use the shared watcher action:

curl -H "Authorization: Bearer $SYNTH_API_KEY" \
-X POST $SYNTH_URL/api/watchers/roadmap/check-now

Next: Watchers.

Source removal and recovery​

When Jira requests retirement, shared pages move through safe withdrawal and background rebuilding. The existing keep policy continues to retain support; changing that policy is an explicit operator choice. See Removed Sources and Shared Pages for the workflow, permissions and recovery limits.