Forums

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

Jira automation executes twice at the same time

Andrei Morozov November 23, 2023

Hi, I have a simple automation rule based on status transition that creates a new linked ticket.

It usually works fine, but occasionally it executes twice simultaneously, and I can't figure out the reason behind this issue. I have a condition in place to check whether there's already a linked issue or not, but it seems to be ignored due to parallel rule executions.

Can you provide any ideas on how to fix this?

Screenshot 2023-11-23 at 18.31.17.pngScreenshot 2023-11-23 at 18.35.03.png

2 answers

1 accepted

2 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 Leaders.
November 23, 2023

Hi @Andrei Morozov -- Welcome to the Atlassian Community!

This is a known defect which appears to have been introduced with the feature to set an issue status during the create: https://jira.atlassian.com/browse/AUTO-916

I just confirmed it still happens for my test project.  The work-around is to disable this permission to set the status at issue create.

Can you confirm that is what you were doing before the symptom?

Kind regards,
Bill

Andrei Morozov November 24, 2023

Wow, yes, it is!

I've printed comments with issue status name and it is clear, that automation fires twice.Screenshot 2023-11-24 at 16.28.09.png

I added additional if statement to check is it really needed status and everything works fine!

Screenshot 2023-11-24 at 16.40.08.png

Andrei Morozov November 24, 2023

@Bill Sheboy thank you a lot!

Like Bill Sheboy likes this
0 votes
Brant Schroeder
Community Champion
November 23, 2023

@Andrei Morozov Welcome to the Atlassian community

Are users hitting the transition button twice so the thread is running twice?  Can you test that?

Andrei Morozov November 23, 2023

It is impossible to hit the button twice because after the first click, the dropdown menu with possible ticket transitions closes.

Suggest an answer

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

Atlassian Community Events