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.
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).
I used another API endpoint and condition as a workaround for this problem:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
https://codebarrel.atlassian.net/browse/AUT-1622
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
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.