Custom fields required in Jira
This integration requires the custom field incident_id. For details, see the Create an incident in Uptime from Jira guide.
Automatically resolve Uptime incidents from Jira by using our Incidents API and Jira Automation.
This integration requires the custom field incident_id. For details, see the Create an incident in Uptime from Jira guide.
In your Jira space, click More actions (β¦) β Space settings β Automation.
To apply this to all your spaces, go to Global administration and create a global flow.
Click on Create flow.
Select the Work item transitioned trigger.
For To status, enter Done, then click Save.
Add a condition. Choose the incident_id field and set the condition to is not empty.
Add an action and select Send web request.
Configure the web request:
Web request URL: See our guide on obtaining an API token.https://uptime.betterstack.com/api/v2/incidents/{{incident_id}}/resolve
Headers: Authorization: Bearer $TOKEN
HTTP method: POST
Web request body: Custom data
Custom data: {"resolved_by": "{{updated}} - {{changelog.status}}"}
Don't have an API token yet?
(Optional) Add another action to Comment on work item. You can use {{webResponse.body}} to add the API's response to the ticket.
From now on, when a Jira work item is moved to "Done", the corresponding Uptime incident will be resolved.
Please message us at hello@betterstack.com. We will help you with all the necessary configurations.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.