Transition Parent Issue based on Sub-task

JT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2012

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

1 vote
Answer accepted
tier-0 grump
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2012

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...

tier-0 grump
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2012

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...

JT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2012

Thank you James!! I will pull it down.

Suggest an answer

Log in or Sign up to answer