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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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