Using smart values in the delay action

Andrey Kiyanovskiy
Contributor
September 17, 2024

Hi team,

it would be good to have support for smart values in the Delay action.

My use case. In a FOR loop, I'm creating and linking child tickets. But because all branches are run in parallel, the order of the child tickets is mixed up. I'd like to add a delay 1,2,3... seconds in each branch what should resolve this issue. Thus, the next branch will take +1 second and child issues will be created in the original order.

Best,
Andrey.

3 answers

0 votes
Toalha.Tosrif
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2024

Hi,

I was also having the same thoughts only to find out we cant use smart value in Delay. Could have probably solved my issue with the order.

0 votes
Andrey Kiyanovskiy
Contributor
September 17, 2024

I don't really need a solution, I can copy actions as a workaround. And I'm pretty sure this approach will work. If not with 1 second distance, but with 2 or more it will.

0 votes
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 Leaders.
September 17, 2024

Hi @Andrey Kiyanovskiy 

Having a parameter for the Delay() action may not help with your described scenario.  With the parallel and asynchronous nature of branches which could be on more than one thing, I suggest there is no way to accurately forecast how long the branch will run.

If you describe the problem you are trying to solve (i.e., the "why") and show your current rule, the community may be able to suggest alternatives to meet the need.

Until we see that information, the only current method with Jira Automation to add issues in a specific order is one-by-one (sequentially without branching).

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events