I would like to have an automation that if a status is moved to "Escalated" then it will create a new ticket in a new project. This i got. But if it gets moved back to "In Porgress" then back to escalated, I do not want it creating a second ticket. And i can not figure out how to do this.
Hi Justin - Welcome to the Atlassian Community!
In these cases, I usually create a custom field like a radio button (Yes/No - default to No) or a Checklist (Yes) and add a context for the Issue Type and/or Project. But I don't add it to a screen.
Then with your automation, add a Condition to see if the radio button = No or if Checklist if it is empty.
Then when you finish your automation, add an Edit Issue to set the custom field to Yes.
This way when the automation runs, it will only process for the first time the issue moved into the Status.
To be clear it is creating a ticket every time. I have tried the following as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Justin Foshee
There is an option in Data center automation, where it says 'Exclude issues where the automation has already ran'. If you click this is checkbox, it will not create the ticket again.
Could you check if you have this in Cloud as well.
2nd work around will be to use if/else block and check if there is a linked issue then dont else create.
Let me know if this helps
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.