Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Automation Create Variable bug

TimMG I'm New Here Dec 22, 2021

I've found some curious behaviour when trying to create a variable in a Jira automation routine.  If I create a variable in a branch line so:

snip1.png

 

{{cake}} was able to be recalled in the email within that branch ("cakecake"), but isn't able to be recalled outside of that branch (the one called "middle").

 

While trying to debug this behaviour I discovered by chance that by adding a new variable before the first branch somehow resulted in the expected behaviour.  ie the automation below worked and the value of {{cake}} was able to be recalled in the email "middle"

snip.png

 Not sure if this is a bug in the way the platform handles variable creation, or I think in my troubleshooting googling i read something somewhere that branches may be processed in parallel, meaning that perhaps the email "middle" is being sent before the branch that creates {{cake}} is executed?

1 comment

That's exactly my problem.

Screenshot_7.pnga

Can't use this variable outside the branch.

To work i just used lookupissues

Screenshot_8.png

Comment

Log in or Sign up to comment
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you