Close Parent issue only if the child issues are closed

Hi,

How do you prevent a parent issue (Mostly of type Story) from closing if it has got any child issue (of type: Sub-task, Bug or task etc) associated with it. I know of a plugin (JIRA Workflow Toolbox) which lets me do that but I do not want to use it for obvious reasons . Is there any way this can be achieved without using any plug-in.

Can any one help on this?

Thanks,
Hitesh 

1 answer

1 vote

There is a built in condition for "prevent this transition if any subtasks are in <list of> status".  Try that one.

Thanks Nic, but this condition is only for sub-tasks. There could be issues of other type as well which are not being taken care of by this condition.

I think you've misread it - it's for all sub-task types.  Doesn't matter what they're called.

I think Hitesh means that you can link an issue using the "is parent of" and "is child of" links without them being sub-task types.

Then they're not sub-tasks.  Those are link types that are not off-the-shelf, so they've been added by an admin, and they're frankly meaningless because they don't define sub-tasks.  They are links, and they do define a relationship, but it's not parent/child, it's parent/parent with a misleading name.

I'm fully aware of all of that, the question of how to check the status of linked issues is still perfectly valid in general I think. I've found another question that deals with this quite nicely: https://answers.atlassian.com/questions/159524

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

43 views 0 3
Read article

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