Forums

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

Parent Story should be transferred when all child tasks are Done(Ready for release)

kateryna_lytvynchuk August 19, 2021

Hello!

Can't deal with an issue when PARENT STORY should be transferred to specific status after ALL CHILD TASKS are being transferred to this status as well.

ACTUAL RESULT :For some reason PARENT STORY is transferred even if only 1 CHILD TASK has been transferred before.

EXPECTED RESULT: I want STORY to be moved only if ALL CHILD TASKS have been moved till current moment to specific status.

I've attached options I used to proceed with the flowJira1.pngJira2.pngJira3.pngJira4.png

2 answers

0 votes
Fabian Lim
Community Champion
August 19, 2021

Hi @kateryna_lytvynchuk

Take a look at this tutorial: https://youtu.be/DcPYrw-Puus

It's the first rule that you want to look at.

Regards

kateryna_lytvynchuk August 20, 2021

Hi @Fabian Lim unfortunately this doesn't work for my case.

I don't have subtasks but linked child tasks so I've tried to change issue type to TASK and modified [subtask match status] to [all linked issues  with the type is a child of match]. This still does not work(

Jira5.pngJira6.png

Fabian Lim
Community Champion
August 20, 2021

From the screenshot, it looks like you have to use the "is a parent of" relationship instead of "is a child of".

Try it and let us know.

kateryna_lytvynchuk August 23, 2021

Dear @Fabian Lim unfortunately neither this option worked

Jira 7.pngJira8.png.

Fabian Lim
Community Champion
August 23, 2021

@kateryna_lytvynchuk

You branch also needs to change. It should be linked issues. The link is "child of".

Link: https://support.atlassian.com/jira-software-cloud/docs/work-with-related-issues/

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
August 19, 2021

Hi @kateryna_lytvynchuk welcome on the community :)

Do you know automation template library? It is quite useful. THere is a rule for your case:

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/140671

 

Let me know if you need more help :)

kateryna_lytvynchuk August 20, 2021

Hi @Martin Bayer _MoroSystems_ s_r_o__ 

Thanks for your reply! I've tried to modify example U've sent but the main constraint here is that  I don't have subtasks. I've got linked child tasks. So identic rule does nor work(no subtasks) and modified one I've attached doesn't want to work as well(

Jira5.pngJira6.png

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
August 23, 2021

Hi @kateryna_lytvynchuk , sorry for late response... your issue is that

  • you can't user For Parent branch rule
  • you need to use For Linked Issues and select correct link type
  • -> For Parent is used for link between epic and its stories, tasks...

I hope it will help :)

kateryna_lytvynchuk August 26, 2021

Hi @Martin Bayer _MoroSystems_ s_r_o__ , thanks for your help, but it hasn't helped(

I've tried few more manipulations with linked issues but no success.

Jira9.png

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
August 26, 2021

I don't think you use correct link type in branch rule.

  1. you execute transition on child issue
  2. so you NEED to get parent (probably is child of link type)
  3. you need to check child issues (the current issue = parent and children issues are linked with is parent of linktype)

Can you give it a try?

Suggest an answer

Log in or Sign up to answer