In post-functions part, I used 2 script workflow functions but I sometimes get this exception:
[atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 1041 from workflow 281049 on issue 'PRDIT-27342'
com.opensymphony.workflow.StoreException: Error marking step #642379 finished: root cause: Tried to update an entity that does not exist.
Any help would be greatly appreciated.
If you want to move issue through 2 transitions (as I understand from the screen) - it would be better to put one postfunction in current transition, and second postfunction to the next. THe behaviour of your current event is unpredictable, as you are not sure if the fire event after the transition was executed before the next try.
Thank you for your reply Alexey.
I have a condition for the first fast track transtion but not for the second one. So if the condition is not met than the second fast track transition is applied. However, it sometimes fails even if the condition is met and throws an exception that I mentioned in my post. Also the second fast track transition is applied.
I would suggest you to to use two different transition and the second transition can be hidden transition ( part of workflow transition plugin) and make sure the second fast-track transition post-function is part of this second transition which is hidden from the user and can only be triggered from within the workflow itself.
Thank you for your reply Tarun. Both fast-track transition are hidden and so they are triggered from current transition itself.
I placed a mutually exclusive condition to the first one for the second one as per Jamie recommendation. It sometimes fails so I should wait if it works properly.
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