I am using jira automation to automatically transition parent issues to done when all of the subtasks have been completed. However, I have found it only works when you drag and drop the last sub-task to done from the sprint board UI.
Meaning this automation does not work when I use the UI in the last sub-task ticket to change the status from in progress to done. I assume this is because when you use the drag and drop method there is a modal that appears asking if you would like to mark the parent issue as done.
Our engineers typically work out of the task tickets and forcing them to drag the final task to done is a bit counterintuitive.
Is there any way around this?
Thanks in advance!
Welcome to the community.
When you say you are "using jira automation" what exactly do you mean? Are you using the Automation feature to set up a rule to transition the parent issue? If so, please provide the details of the rule you have set up in the Automation feature.
Please consider adding a condition after the trigger, checking that the issue type is a Sub-Task. Otherwise other issues could attempt to process this rule.
You may see that in the example rule I believe you are following from the library:
hi Bill, thank you for the suggestion. Wouldn't the component that is checking the sub-task status suffice for this since it is only running the check on sub-tasks? Sorry if this is a dumb question, I'm just trying to understand.
The desired outcome is that any issue (bug, story, etc) that has subtasks should auto transition when all of its subtasks have been completed.
I have been able to replicate the behavior. And I did add the condition after the initial trigger @Bill Sheboy to confirm the triggering issue is a Sub-task.
The rule is getting no audit log entries, like it is never being triggered.
I confirmed that I had the rule added to the correct project. My workflow is open to allow issues to transition from any status to any status. And I do have the status named "Done". I also have other status values in the same project that are also part of the Done Status Category. I wonder if that makes a difference.
@nick Do you have more than one Status value that is part of the Done Status Category?
@Bill Sheboy Hi Bill, this is a classic project. I'll add the confirmation as you suggested to be safe.
@Trudy Claspill I am fairly certain I only have one Done status, how can I confirm this from my end. And just to make sure I understand your point, you are also running into this issue on your end?
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events