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

Send web request, handle response code not equal to 200


I am trying to write an Jira Project Automation that sends a webrequest. 

If I get a response code that is NOT 200 I would like to send another webrequest to another url.

I am trying to use:

If: matches

{{webhookResponse.status}} does not equal 200script.png

But the problem is that Jira Automation stops the execution if the webhook response isn't 200 so it is not event trying to send to my second webserver.

This is the Audit log:


Action details:

Send web request

Error response HTTP body:Error publishing webhook. Response HTTP status:400



Is it possible to read the response.status and send a new webrequest if it's not 200?

1 answer

1 accepted

0 votes
Answer accepted

I'm thinking it's not possible. I had a web request that had a possibility of failing, and I tried to "trap" for unsuccessful requests by checking {{webhookResponse.status}}. It never worked.

Alas, upon closer inspection, you only that smart value that if it's successful:

On successful webhook execution, you would be able access webhook response data using the following smart values:

I think we'll need to ask for a Feature Request. :-}

Thanks for the reply!

Hmm ok, I'll have to work around this in another way, then.

Like Darryl Lee likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

766 views 17 21
Read article

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