When reopening a Sub, can it automatically open the parent?


   Can I set a post function where when a sub-task is reopened, it will automatically reopen the parent?

JIRA 5.2.



1 answer

1 vote
Tarun Sapra Community Champion Aug 09, 2016

Yes, you can get the parent object of the issue and easily transition it to open state in the post-function (but only do it after checking that the current issue is a sub-task if sub-task and parent share the same workflow)

Here's the code in the answer, you need script runner installed.


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
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

446 views 6 7
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