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:Ā 

Using status change automation in a workflow with two transitions to a status

Sigrid Schoepel
Contributor
November 18, 2020

I have an automation that is supposed to copy some fields when an issue is created if the linked issue (where it's getting cloned from) is in a certain project. I think there's a timing problem where the link isn't present at the time the rule gets run so the fields aren't copying.

Now I'm trying to create an automation that says if the issue transitions from status A to status B then create an issue in a different project and copy fields. BUT, I have two transitions from A to B (already in development/send to development). Only in one of those transitions should the automation run. I cannot figure out how to find the actual transition option, not just the change in status.

Do I have to redo everything (workflow and automation) or is there a way to find the actual transition used and apply it to an automation rule?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 18, 2020

Hi @Sigrid Schoepel 

Regarding the first rule you note and the timing issues, there are definitely race-track conditions in the automation rules due to the asychronous processing, particularly after the create issue trigger.

One work-around I use is to put a Re-fetch action immediately after the trigger.  It does slow the rule down a bit, but it helps to give the issue a chance to fully load before you try to use it.

 

Best regards,

Bill

0 votes
John Funk
Community Champion
November 18, 2020

Hi Sigrid,

Maybe you could add a Condition before the transition to check for the same type of conditions you have on the two different transitions to B.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events