Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation failing for webhook

Hi Team,

 

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 ?

jira.pngjira1.png

Regards

Bhargav Bhatt

 

 

1 answer

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. 

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you