It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

automatical close of parent Task

Corinna Führing Jan 12, 2016

Hello, what do I need to do if I want the parent task of an issue to be closed automatically if all it s sub tasks are resolved or closed ?

3 answers

1 accepted

1 vote
Answer accepted
Nic Brough [Adaptavist] Community Leader Jan 12, 2016

For JIRA Core, you'll need to find/write a post-function for the sub-task workflow that can check the parent to see if this sub-task is the last one being closed and trigger a transition on the parent if it is.

If you have JIRA Software, that does it automatically for Stories

0 votes
Corinna Führing Jan 12, 2016

Sorry )-: where exactly can i see if we have JIRA Core or JIRA Software and , do you think i will need to write a script for that post function , or (we do have a Plug In for extended Post function functions ) can i find it somewhere already ?

Nic Brough [Adaptavist] Community Leader Jan 12, 2016

Check Admin -> Manage Applications to see if you have JIRA Software. Although having "Agile" in your top bar, and access to Scrum and Kanban boards is a dead giveaway if you have them. Do you have the ScriptRunner installed? That's the most flexible option, as you can add stuff to update the parent as well as just transition it if you want.

0 votes
Corinna Führing Jan 12, 2016

 this is what i have but i think i need to update it ?—well i have no Agile Jira, so seems I have JIRA Core...ScriptRunner.jpg

Nic Brough [Adaptavist] Community Leader Jan 12, 2016

Depends on the version - I don't know what you're running, so there's a couple of things: JIRA Core and JIRA Software only applies to JIRA 7+. If you're on 4, 5 or 6, then it's just JIRA and the Agile Add-on. If you're on version 6 of JIRA you might not need to upgrade ScriptRunner to the paid version (if you're on 7, you do). Depends on the exact version of JIRA you are on though.

Corinna Führing Jan 12, 2016

Hello i am on 6.3.15... Version,...ok so the only way i can get to close Parent task automatically when sub tasks are closed is writing a script ?

Corinna Führing Jan 14, 2016

there is no other more simple and easy way to do so, via post function or so ?

Nic Brough [Adaptavist] Community Leader Jan 14, 2016

This is the "simple post function" to do it.

Corinna Führing Jan 14, 2016

ok thanks... i will hand this over to some of the informatic guys here,....

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

670 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you