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?
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
Wow, yes, it is!
I've printed comments with issue status name and it is clear, that automation fires twice.
I added additional if statement to check is it really needed status and everything works fine!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Andrei Morozov Welcome to the Atlassian community
Are users hitting the transition button twice so the thread is running twice? Can you test that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is impossible to hit the button twice because after the first click, the dropdown menu with possible ticket transitions closes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.