-right now I have a automation rule where when a task gets transitioned, it automatically creates a set of subtasks.
-the issues is when someone transitions to and from this state it will create a duplicate subtask.
-Is there a good way to handle the creation of this duplicate subtask/ these subtasks. One idea is to check if there is already a subtask with that name, and if so do nothing.
I understand there is a way to check if ANY subtasks exist and do nothing - this will not work here as there are already other subtasks that exist as part of the task at this point.
thank you for your help
I solved this by creating a "Related issues condition" and setting Condition to "Are not present".
@LDT , I have the exact need. I have a sub-task that gets created during a transition, but if the issue goes backwards and forward again, I dont want to create the same issue. Did you ever get this working?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @LDTStudios
You can use JQL condition, like
issuefunction in subTasksOf(key = {{issue key}} AND summary ~ "text_you_are_looking"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ah thank you, I will take a look into JQL conditions. Its not something I have used before. I guess I will have to check if something exists - IF NOT then create as opposed to an IF NOT - then create rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.