Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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.

1 comment

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

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.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events