The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create/Update variable is messed-up when calling Webhook with "Delay Execution"

Moheeb Qupty
May 20, 2024

Jira DC v9.12.8

Hi all,

I have the following rule, where I created 2 variables, initiate them value "EMPTY", all that  before if/else block where in it I call a webhook with a delay execution.

Based on the web response, I process and save string into the variables, print to log to make sure the value are correct and after existing the if/else, added "re-fetch" for a delay (a workaround for a bug/problem where main rule keep running not waiting for the webhook).

But still this doesn't help and I have issues see the correct values of these variables outside the if/else (the variables have the correct value inside the if/else).

The rule:  

 

image.png \

 

This is the Audit Log print, and you can see clearly that the 1st variable indeed was changed inside if/else to null first before the webhook (print outside), but the value after the webhook after processing the web response and getting correct values aren't updated and keep printing EMPTY/null outside the if/else:

image.png

I appreciate any input, what issue/problem that might cause that, is it a Bug?

Is it still a timing/delay of webhook response although the "re-fetch"?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.