Transition Parent Issue based on Sub-task

I have the following Conditins and Post Functions set on the Resolve Issue transition in my workflow:

Conditions:

All sub-tasks must have one of the following statuses to allow parent issue transitions: Resolved, Closed or Accepted.

Post Functions:

Transition Resolve Issue will be triggered on the issue's parent issue.

I have a parent issue with two sub-tasks.

The parent issue is not being transitioned to Resolved when the second sub-task is transitioned to Resolved. If I remove the Condition, the parent issue transitions to Resolved as soon as the first sub-task is transitioned. I do not want the parent issue to transition until all of the sub-tasks have transitioned to resolved. Has anyone been able to acheive this?

1 answer

1 accepted

Accepted Answer
1 vote

I wrote a tutorial for developer.atlassian.com some time back that does exactly that - but I see it hasn't been published :-)

The source code for it is at https://bitbucket.org/atlassian/tutorial-jira-add-workflow-extensions and I should be able to turn the instructions into a PDF and bang them in there...

I've jsut added a PDF copy (JIRADEV-CreatingWorkflowExtensions.pdf) to the root of the repo. The tutorial hasn't been published yet because no-one has tested it yet - so it may be a little rough around the edges but it should point you in the right direction...

Thank you James!! I will pull it down.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,545 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you