All,
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.
Christian
Hello Christian,
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.
Dear Rusi,
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Christian,
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
Rusi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create on Transition for JIRA can certainly do the subtask creates (How to create multiple issues) but you will need a listener (like Script Runner) to all the other things you want to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.