Child and parent workflow transitions and conditions

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?

1 answer

1 accepted

This widget could not be displayed.
Paul Greig Atlassian Team Jun 17, 2013

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

576 views 25 15
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you