Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Parent-Child flow in JIRA

jay modi February 14, 2019

Hi all,

I required support for the parent-child flow in JIRA.

1. Parent (IssueType:: - story)

2. Child (Issue Type:- Task/Subtask)

I have multiple subtask and task under the issue type Story.

How I can ensure that Story (Parent) will remain in In-Progress status until all issues under the story are not resolved. 

For Example Story workflow ( To-Do, In-Progress, Done), Task workflow: ( To-Do, In-Progress, Done).

Initial state: Story XYZ (State: To-Do), Task ABC (State: To-Do) , Task PQR ( State: To-Do)

If task ABC moves from To-Do to the In-Progress, then Story XYZ should automatically move to the In-Progress state.

Now if task ABC is in Done state then Story XYZ must remain in the In_progress state. (As PQR is still pending) 

Once the Task PQR is completed (Done) then only Story XYZ moves to Done state.

I want this process to work automatically.  I know we can use the post-function for this but can someone but suggest How I need to configure it.

Thanks in advance.

Regards,

Jay

 

1 answer

0 votes
Gabriele Franck
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 15, 2019

Hey, Jay

Indeed, there is a Condition available in the workflow to prevent parent task from closing if the child task is not finished as well.

Please follow the steps below to add the necessary condition:

  • Go to the concerned workflow > Edit > Select the transition(s) that go to the status Done
  • Click on Conditions at the far right > Add condition > Select Sub-Task Blocking Condition > Add
  • Select the status of the sub-task that you want the lock the parent task with >Add
  • Click Publish Draft at the top of the screen

Regarding this process to work automatically, transition the parent issue when the sub-task is transitioned is not a native feature from JIRA Software. There was a feature request: JRACLOUD-13012 reported for this issue, but is set by the development team as Won't fix, as this is an add-on functionality called Jira Misc Workflow Extensions, that allows you transition the parent when the sub-tasks are transitioned. For better understanding this add-on, please see the following documentation:

 

Let me know if this helps!

Gabi

Dave Myron
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2020

Commenting on an old thread, but it seems important to note that the add-on Gabi mentioned is a *paid* add-on. This functionality seems very important and should be part of the core Jira, IMO.

Like Jennie Lama likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events