Acknowledge an incident

Automatically acknowledge Uptime incidents created in Jira by using our Incidents API and Jira Automation.

Setting up the Jira automation rule

  1. In your Jira project, go to Project SettingsAutomation.

    To apply this to all your projects, go to Global administration and create a global rule.

  2. Click Create rule.

  3. Select the Issue transitioned trigger.

  4. For To status, enter In Progress, then click Save.

    ACK Trigger.png
    ACK Trigger Detail.png

  5. Add an IF condition. Choose the incident_id field and set the condition to is not empty. This ensures the rule only runs for tickets connected to Uptime incidents.

  6. Add a THEN action and select Send web request.

    ACK Action.png

  7. Configure the web request:

    Web request URL: https://uptime.betterstack.com/api/v2/incidents/{{incident_id}}/acknowledge
    Headers: Authorization: Bearer $TOKEN
    HTTP method: POST
    Web request body: Custom data
    Custom data: {"acknowledged_by": "{{assignee.displayName}}"}

    ACK Web Request.png

  8. (Optional) Add another THEN action to Comment on issue. For example: The incident has been acknowledged by {{assignee.displayName}}.

    ACK Another Action.png

That's all. 🎉

From now on, when a Jira issue is moved to "In Progress", the corresponding Uptime incident will be acknowledged.

Need help with the Jira integration?

Please message us at hello@betterstack.com. We will help you with all the necessary configurations.