Within Jira Automation, if you are to have an action that creates a comment, you can select a checkbox that disables duplicate comments being created. I would love to know how I can prevent duplicate subtasks from being created. Currently there does not appear to be a checkbox for the subtasks. I was trying to use an if/else check, but couldn't quite get the syntax down. I would love some help/ideas on how to solve this one.
Solved! Go to Solution.
I will certainly give JQL a go! My action trigger is when the task is moved from panel A to B, but if you keep moving it back and forth from A and B, the sub tasks continue to regenerate. So my goal is to create these subtasks on the first attempt and that is it.
Have you got solution? As i am facing same issue. What should i write in JQL condition
It would be good to know what trigger and conditions you are using, as that could influence the solution. But at a high level, I agree with @Pramodh M use JQL to restrict or check to see if such sub-tasks already exist.
My action trigger is when the task is moved from panel A to B, but if you keep moving it back and forth from A and B, the sub tasks continue to regenerate. So my goal is to create these subtasks on the first attempt and that is it.
Looks like the move was using a Related issues condition where the related issue was 'sub-tasks' and the condition was 'are not present'. Then an action is added to create sub-tasks. Now the tasks only generate the first time!