I have done automation using incoming webhook.
Scenario : We have setup monitoring alerts for our system. issue is we get type of alert
1) on failure of service
2) on recovery of the service
So, Got Jira ticket created for Failure of service using incoming webhook.
But when I receive recovery request. I want to update the same ticket which was raise early for failure.
Currently, It is creating 2 different tickets in the project. (one for failure and one for recovery)
Can anyone help me ?
Hi @Bhargav Bhatt -- Welcome to the Atlassian Community!
To do what you ask, you will need some matching piece of information between the two incoming webhook triggers, like a "correlation id".
When you have that correlation id from the failure service notification, you may create the initial Jira issue with that value in a field, such as a custom field for the value. When the recovery comes in, you may use a branch on JQL to select the appropriate Jira issue for update.
As a precaution you may want a second rule with a scheduled trigger on JQL, checking for any "orphaned" failure service notifications which have not be addressed for a while by a recovery message.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event