Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

How do I get the Parent Issue Script Field to show Initiative (2nd Level) on tickets?


I'm using one of the new scriptrunner canned scripts, called 'Show Parent Issue in Hierarchy'. My goal is to have a field that shows the Initiative that a story relates to.

Our Portfolio hierarchy is: Value Stream --> Initiative --> Epic --> Story --> Sub-task

When I choose 'Value Stream' as the Target Issue Type, it works, showing me the value stream above the issue I'm looking at. When I choose Initiative (or Epic), I get nothing back. See attached image for setup... help?


Screen Shot 2017-10-30 at 10.png

2 answers

Did you ever find a solution to this?

Nope. My workaround was to use scriptrunner jql syntax like this in filters, reports, agile board etc...:

issuefunction in linkedIssuesOf("issuefunction in portfolioChildrenOf('key = ABC-123')", "is Epic of")

Note: ABC-123 is the Initiative in this example


I have the same issue. Except that the Epic is displayed. I can't display the Initiative.


Thanks. I guess that solves the reporting side.


No easy way of reporting in a way to show the initiative summary in the results. The parent link field only returns the key in exported issue reports.

I guess a custom script field is the only way? IE recurse the hierarchy?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across Jira Cloud instance.   📢 Get y...

258 views 12 9
Read article

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