I'm created a workflow and cannot proceed forward.
I would like to the following :
2. When all sub-task are in status 'Approved' I would like that the task status to change into 'Review'.
Hope you can help me out.
Thanks in advance.
In our company we are facing a similar problem. Our solution is to use an Issue Event Listener and the logic is complex enough.
Here is why the pure post-functions and conditions approach does not work (and the listener approach is applied):
This shows that the pure condition & post-functions approach does not work.
In contrast, the issue events in JIRA workflows are processed out of any transactions, which allows the sub-task's transition to complete successfully, isolated from the transition (if any) of the parent task.
Then, a Issue Event Listener approach could be:
The knowledge how to implement such logic is quite well provided in the recipes in "Jira 5.X Development Cookbook" by Kuruvilla.
Thank you for you answer.
I tried to implement step 1 with post function by I could not manage it. I search all around and there should be a 'create sub-task' post function which I do not have and could not find. Could maybe be be a bit more clear how could I implemented it ?
There's no "create sub task" function built into JIRA, you will need to find/write an add-on to provide it. There's several in the marketplace (free too), but as you've got other requirements you probably need to code for, you might find it easier to just get the Script Runner add-on.
We had experimented with Bob Swift's plugin: https://marketplace.atlassian.com/plugins/org.swift.jira.cot/server/overview before we decided to move to Listener approach.
With best regards
Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot