The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook Error Conditional Use

Josephine Turner
Contributor
January 31, 2025

Hello,

I am working on a rule using API calls to check if something still exists in one of our tools. I have been able to use regex successfully in the past to pull so many things out of webhook responses. BUT this time is different. I am looking to identify when something doesn't exist in the tool anymore, since the tool wipes it out I get a 404 error back from it. I was hoping to use that error message to then close corresponding Jira tickets that were associated with the deleted object but I can't figure out if I can use that as a condition to then perform an action. 

It does seem like the rule just stops when it reaches that error so I am thinking that will be the answer but thought it was worth a shot to ask!

I am happy to provide whatever I can from the rule just let me know what would be helpful.

Thank you,

Josy

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

5 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 31, 2025

Hi @Josephine Turner 

In the Send Web Request action, there is an option to continue processing after an error:

Continue running the rule even if the request response is not successful (i.e. non-200 response)

When that is enabled you could use the response code with conditions to decide next rule steps.

Kind regards,
Bill

Josephine Turner
Contributor
January 31, 2025

Oh wow, I always miss those boxes! Thank you for the quick and helpful response.

Like Bill Sheboy likes this
TAGS
AUG Leaders

Atlassian Community Events