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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

I try to send webhook for some interogation. How to treat failed requests into an if/else block? Edited

I am querying a webhook for some value. If the value is not found I get this error from the webhook:


Action details:

Send web request

Error response HTTP body:{"errors":{},"errorMessages":["The property worktype does not exist."],"httpStatusCode":{"present":true}}Error publishing webhook. Response HTTP status:404


I tried to use an if/else block with these conditions: {{webhookResponse.status}} equals 200 and 404 but I am still getting the error like the condition is never tested (i.e. the failed send webhook test stops execution of the rest of the rule).

2 answers

1 accepted

I used another API endpoint and condition as a workaround for this problem:


Simeon Ross Atlassian Team Nov 25, 2020

Hi @Richard Vencu ,

Have you worked around your issue then or did you still need some assistance?

Thanks for asking. My particular problem is solved but the general question still stands.

Is it possible to test webresponse status code and follow if/else branches in case it is not 2xx type?

Simeon Ross Atlassian Team Nov 26, 2020

Hi @Richard Vencu,

I'm afraid not. We have got an improvement tracking this, which would add the option to allow the rule to continue on a non 2xx response.



Like Richard Vencu likes this

@Simeon Ross , thanks for creating the ticket, any idea when we can expect the resolution. This is important to handle it because , in my scenario I have multiple calls and actions based on the status if its 200,404,400 or 500.

I am adding comments , doing some other actions but in this case i would not be able to do anything if the status received other than 200.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

211 views 1 4
Join discussion

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