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?
When I have created this situation on within OnDemand the following has occurred:
Parent: doesn't meet condition
Child: initiates transition on parent
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.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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