You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/providers/documentation/jira-provider.mdx
+223Lines changed: 223 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,233 @@ import AutoGeneratedSnippet from '/snippets/providers/jira-snippet-autogenerated
14
14
3. Get `project_key` from your project > settings > details.
15
15
4.`email` would be same as of your account email.
16
16
17
+
## Auto-Transition Workflows
18
+
19
+
The Jira provider supports automatically transitioning tickets when alerts change status. This is useful for keeping your Jira board synchronized with alert states - for example, automatically closing tickets when alerts are resolved.
20
+
21
+
### Prerequisites
22
+
23
+
1. Configure a Jira Cloud provider in Keep
24
+
2. Ensure your Jira user has the `TRANSITION_ISSUES` permission
25
+
3. Know your Jira board name and desired transition status names
26
+
27
+
### Workflow 1: Create Jira Ticket on Alert
28
+
29
+
This workflow creates a Jira ticket when an alert fires, but only if no ticket has been created yet.
30
+
31
+
```yaml
32
+
workflow:
33
+
id: jira-create-ticket-on-alert
34
+
name: Create Jira Ticket on Alert
35
+
description: Create Jira ticket when alert fires
36
+
disabled: false
37
+
triggers:
38
+
- type: alert
39
+
cel: status == "firing"
40
+
actions:
41
+
- name: jira-action
42
+
if: "not '{{ alert.ticket_id }}'"
43
+
provider:
44
+
type: jira
45
+
config: "{{ providers.JiraCloud }}"
46
+
with:
47
+
board_name: YOUR_BOARD_NAME # Change this to your board name
0 commit comments