You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
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 200
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:
Status: SOME ERRORS
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.