Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Child and parent workflow transitions and conditions

Florian Dworak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2013

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

0 votes
Answer accepted
Paul Greig
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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
TAGS
AUG Leaders

Atlassian Community Events