Hello,
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!
Hello @[deleted]
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.
Hello @Trudy Claspill ,
Thanks for the quick response. I am using the automation feature. I got the automation from the library of the feature. I've attached a screenshot of the rule configuration below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you confirm that the automation rule is running when you execute the transition of a sub-task to Done? Are the runs of the rule showing up in the Automation Audit Log? Are there any errors reported in those audit log entries?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
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:
https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/140671
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill The only entries are configuration changes from when I added the rule and made small changes to attempt to troubleshoot the rule. I do not see any success or failure entries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
@[deleted] Do you have more than one Status value that is part of the Done Status Category?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Nick.
To confirm: is this a Classic or Next-Gen project?
Looking at your rule trigger, any issue can trigger that and then try to branch on the Parent. The extra condition ensures your rule bails out (or continues) as expected as soon as possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted]
Look at the Board Settings > Columns and see if there is more than one status that is colored green. They may all be in your Done column or you might find them in other columns or in the Unmapped Statuses area.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is only one status in that column, which is the one I am using with this automation rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Given that I was able to replicate what you are seeing @[deleted] , it seems to me like this is a bug in the JIRA Cloud platform. I recommend you open a support ticket with Atlassian to report the issue.
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.