Explore documentation

Acknowledge an incident

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

Setting up Jira Automation Rule

  1. Go to the Jira Dashboard → Project Settings → Automation

    If you'd like to apply this to all your projects, switch to the Global administration and apply the following to the Global rules

  2. Click on Create rule

  3. Select the Issue transitioned trigger, and then fill in the To status as In Progress, and then Save the changes.

    ACK Trigger.png
    ACK Trigger Detail.png

  4. Now let's add the IF: add a condition, choose the created incident_id field, and Condition = is not empty. This will ensure that only the tickets that are connected with Uptime incidents will be taken into account.

  5. We'll now follow with the THEN: add an action and look for Send web request action.

    ACK Action.png

  6. In the Web request URL, insert the https://uptime.betterstack.com/api/v2/incidents/{{incident_id}}/acknowledge. Also, fill in the Authorization Header and insert your API Bearer Token.

Now let's fill in the following:

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

ACK Web Request.png
7. OPTIONAL Now, you can also add another THEN: add an action and Comment on issue, if you'd like to make sure that it's also in your Jira ticket. The comment then can be something like: The incident has been acknowledged by {{assignee.displayName}}.
ACK Another Action.png

That's all! 🎉

From now on, a new incident will be triggered in Uptime every time a new Jira ticket matching the conditions is created.

Need help with setting up the Jira Integration?

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