Skip to content

watch

Poll Jira for changes and emit NDJSON events

Watch a JQL query or single issue for changes and stream events as NDJSON.

First poll emits all matching issues as "initial" events. Subsequent polls emit "created", "updated", or "removed" events only for issues that changed.

Supports --preset, --jq, and --fields for output shaping. Each event is one JSON line: {"type":"updated","issue":{...}}

Use Ctrl-C (SIGINT) to stop gracefully.

POST /rest/api/3/search/jql

FlagTypeRequiredDescription
--intervaldurationNopoll interval (e.g. 10s, 1m, 5m)
--issuestringNosingle issue key to watch (e.g. PROJ-123)
--jqlstringNoJQL query to watch
--max-eventsintNostop after N events (default: unlimited)

Example:

bash
jr watch