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
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs