Jira

Automate your status page using Jira

Send a webhook from Jira to update your status page
Send a webhook from Jira to update your status page
Your status page gets updated
Your status page gets updated
Customize updates using templates
Customize updates using templates
  1. Create a Jira webhook in Instatus Jira Integration
  2. In your Jira dashboard, go to your Space Settings → Automation → Create rule → Create from scratch
  3. Jira Space Settings Automation
    Jira Create rule from scratch

    To apply automation rules to all spaces, you need to switch to Global administration and apply the same following rules:

  4. Create a rule to create incidents when Jira issues are created
  5. Add a trigger → search & choose Work item created

    Jira Work item created trigger
  6. Click Add condition then choose Work item fields condition. Select the Field to be Issue type and the value to be an issue type of your choice. You can create a new issue type for this purpose.
  7. Jira Work item fields condition for Issue type
  8. Add a new action component and choose Send web request
  9. Paste the webhook URL from step 1 in the request URL field. Choose the POST HTTP method and select Custom data for the request body & paste the following:
  10. {
    "trigger": "down"
    }
    Jira Send web request action with POST method
  11. Make sure that the Actor for this automation rule is set to Automation for Jira to avoid any permission issues. You can check this in Rule details → Actor
  12. Click next → Turn on rule & give it a name
  13. We have created the create incident rule. Now, let's create the resolve incident rule:

  14. Add a trigger → search & choose Work item transitioned → set the To status to be Done or any status that indicates resolution
  15. Jira Work item transitioned trigger with Done status
  16. Click add condition then choose Work item fields condition. Select the Field to be Issue type and the value to be the same as the issue type used in the create incident rule (Step 4)
  17. Jira Issue type condition
  18. Add an action component and choose Send web request
  19. Paste the same webhook URL from step 1 in the request URL field. Choose the POST HTTP method and select Custom data for the request body & paste the following:
  20. {
    "trigger": "up"
    }
    Jira Send web request action for resolve incident rule
  21. Make sure that the Actor for this automation rule is set to Automation for Jira to avoid any permission issues. You can check this in Rule details → Actor
  22. Click next → Turn on rule & give it a name. That's the resolve incident rule created.
  23. You're done! 🎉