Automation for JIRA - how to stop rule repetition for the same ticket

Himanshu Nanda November 12, 2020

Hi - I have a set of sub task creation rules applied against transitions.

E.g. if ticket transitions from status 'Open' to 'In progress', 3 sub tasks get created, and so on.

In my workflow, I have a transition back to re-open as well. BUT - if I do that and push the ticket to in progress again, it triggers the rule again and duplicates the sub tasks.

 

Is there a way to stop evaluation of the rule or restrict it to only one execution per ticket?

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 12, 2020

Hi Himanshu,

What I would do is set another field (such as a custom field) when the issue gets transitioned into In Progress. You can do that as another action in the same rule you already have.

But add a condition before it creates the sub-tasks to check if the field has that value or not. No value, then create the Sub-tasks. If it has the value or is not empty, then do nothing. 

Himanshu Nanda November 12, 2020

Thank you!

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events