As the title says, I want to stop a user from transitioning an issue to the Done column unless the child issues underneath it are incomplete. How can I do this?
Hi @Frank Cecere ,
If you are in company managed project, then
Go to your Project settings --> Workflows
See what workflow is mapped to the required Issue type and click on Edit icon
Click in "Diagram" mode for better view of the workflow.
Click on required transition (example: Open to Close), go to the conditions tab on the right pop up window.
Click Add Condition -> Sub-Task Blocking Condition --> Click Add.
Select the required status that a sub task has to be, so that parent ticket can be transitioned --> Click Add.
Publish workflow.
Please note: of you are in Team managed project, then this doesnot apply there. It has only few rules that can be added to transitions.
If you have any issues, please share the project type and the related workflow screenshots. Will assist you.
In project settings, I don't even see workflows. All I see is Details, Access, Notifications, Automation, Issue Types and Apps. I have to go into the Issue Types and then select the default "Tasks" which is what our parent issue type is called. In there I can select edit workflow but my workflow edit doesn't look like yours at all. Similar but not the same. At the top of the editing workflow I have To-Do-Status, In Progress Status, Done status, Transition, and Rule. No condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh I see, I am in a team-managed project and I need to be company. Thanks a lot for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Rilwan Ahmed ,
The solution you posted works perfectly fine with Sub Tasks. However in our Jira Project we utilize only Linked issues. For that the solution you ve posted does not work unfortunately.
Do you have any idea how i could achieve the same results with Linked issues? Ive already tried an Automation but it im having trouble sorting out what is a child and what is a parent.
Thanks
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Janek Looschen ,
This is not possible in native jira. There was a suggestion request long time back and Atlassian closed with resolution "Won't Fix".
https://jira.atlassian.com/browse/JRACLOUD-1383
Please check Atlassian marketplace for any add-ons which can help you
Example: Jira Workflow Toolbox
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Jira, there are different concepts like: linked issues (e.g. connected with "is blocked by" link), epic's stories (children issues), sub-tasks (issues with the sub-task type that are lower in issues hierarchy), and the parent issue.
Sub-Task Blocking Condition works only for sub-tasks case.
Therefore, we have created Linked Issues Validator / Condition available as part of the Workflow Building Blocks for Jira free app, it covers all 4 cases. With a wizard-like UI, you can select options that represent your case. You can choose relations from: sub-tasks, parent issues, epic children, and linked issues. Additionally, you can filter relations by issue types and select criteria based on status category and status.
I hope it would help anybody
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the workflow that is associated with the parent issue type you will have to add the condition "Sub-task blocking Condition" and choose the Sub-task status and save the workflow to be prior moved to that respective status in sub-task for parent to have next transition appear on the screen.
Hope this helps!!
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pramodh M
I am still confused about how to do all this, could you give me a step-by-step tutorial? I am very new to the software.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am in the workflow for the "Task" issue type but I don't see any condition in that workflow.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.