If I want to transition the parent issue based on the child's transition (in the child's post function) but also having transition conditions defined at the parent level to check the workflow status of ALL children, what would happen in case of a conflict?
E.g. child 1 transitions and causes the parent to transition as well. But there is a child 2 in a status which prevents the parent from transitioning. Would it error and cause any further trouble, or will the parent just remain in its current status and ignore the post function of child 1?
Hi Florian,
When I have created this situation on within OnDemand the following has occurred:
State:
Parent: doesn't meet condition
Child: initiates transition on parent
Result:
Parent: remains in current status
Child: completes the action for the child issue
The post-function to adjust the parent from child is ordered after the listener event is triggered. Therefore the child gets to the necessary state. The update of the parent then occurs but resolves the conditions that were set. If these are not met the issue will not transition and will stay in the same state without any errors being displayed.
One item to keep in mind is displaying screens on the parent issue when the transition would be completed by a child issue transition. The parent view will not render and will prevent the issue from transitioning.
Cheers,
Paul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.