bj automation list¶
List automation rules (name, UUID, state, scope).
Synopsis¶
Options¶
| Option | Description |
|---|---|
-s, --state {enabled|disabled} |
Only rules in this state. |
-p, --project <text> |
Only rules scoped to this project (key or id). |
--trigger <text> |
Only rules with this trigger type, e.g. jira.issue.event.trigger:created. |
-L, --limit <integer> |
Maximum number of rules. (default: 1000) |
--json |
Output raw JSON. |
-q, --jq <text> |
Filter JSON with a jq expression. |
Examples¶
bj automation list --project PROJ --state enabled
bj automation list --json | jq -r '.[] | [.uuid, .name] | @tsv'