Webhook Error Conditional Use

Josephine Turner 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

3 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 Leaders.
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 January 31, 2025

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

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events