A webhook is a standard mechanism for applications to communicate with each other. In this tutorial, we’ll describe how Coralogix can open an issue in Jira as a result of an alert being triggered.
In Coralogix, go to Data Flow -> Webhooks and click on the ‘+ Add New’ button on the right. Choose Jira from the integration options dropdown list.
In order to complete the configuration you will need the following information:
URL: The URL is https://YOUR-ATLASSIAN_DOMAIN.atlassian.net/rest/api/3/issue
API Token: Go to https://id.atlassian.com/manage/api-tokens, log in with your credentials and click on “Account Settings”.
On the left Pane select “Security” -> and Click on “Create and Manage API Tokens”
Click on “Create Token”
Provide a label that is easy to remember, and click “Create”
Copy the token to be used in Coralogix.
Email: The email used in your Jira credentials.
Project Key: TThe project key can be found within the parentheses to the right of the project name in the “Projects” dropdown list
In the Coralogix webhook integration form, provide an alias, the name of the integration as it will appear when defining an alert, and click save.
You can test your integration by clicking on the ‘Test configuration” button. You should get a success message and a new test issue will be created in your Jira account.
Note: The fields sent in the payload are predefined based on the alert.