Forums

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

[Re-fetch issue data] Action doesn't refresh and get the latest [issue entity property] value

YY Brother
Community Champion
February 11, 2023

Jira Automation Rule:

Set entity property action in a loop (update the issue property for multiple times depending on the issue transition history):

In the 2nd Webhook or Re-fetch issue data (2 ways I tried to refresh the entity property, but failed for both), I cannot get the latest prop_cycletime. What's the reason then?

2 answers

2 accepted

0 votes
Answer accepted
John Funk
Community Champion
February 12, 2023

Hi @YY Brother 

It's probably still just a timing thing. The Re-fetch only takes a second or two, and the webhook is probably taking longer than that. You could try adding another Re-fetch or two after the initial one to see if that helps any. Another option would be to create another automation rule that doesn't fire until the first one is completed (you might set a value of a hidden custom field with the webhook, then base the second rule on the value of this custom field changing). That way you know for sure the webhook and populated whatever value. 

Craig February 14, 2023

Good suggestion and I will have a try. Thanks @John Funk 

Like John Funk likes this
0 votes
Answer accepted
YY Brother
Community Champion
February 11, 2023

image.pngimage.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events