Display the parent issue on the sub-task

The parent issue lists all sub-tasks, however, the only way to determine that the issue you are looking at is a sub-task is to look in the breadcrumb, and to look at the issue type. The parent issue is not readily found, you have to look in the breadcrumb which deviates from linked issue behavior.

How do you show the parent issue similar to how linked issues are displayed?

3 answers

0 vote

You will have to do some dev work for this. An option without much work would be to display it as custom field where the parent key will be stored in a custom field.

yup. You will still have to set it automatically when a subtask is created. May be using script and script runner plugin or in a listener!

And only apply that custom field to sub-tasks?

Hi @Jobin

Can u please provide the script to copy parent's Key value to a subtask custom field. Unable to do through Post-functions

thanks! yes a paid plugin is a downside for such a small requirement of mine!

I am hoping to put a script in the customfield to display the value of Parent's Key! Wish someone could guide me with the code. I have only used javascript nd SIL in my project till now, unfamiliar with other scripting styles.

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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
Join discussion

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