I have the following Conditins and Post Functions set on the Resolve Issue transition in my workflow:
All sub-tasks must have one of the following statuses to allow parent issue transitions: Resolved, Closed or Accepted.
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?
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...
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG