Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Any way to bring back all stories and sub-tasks under an Initiative+Epic parent in a filter?

In setting the issue scope for a Portfolio plan I want to use a filter that shows all issues linked to an Initiative. With the standard heirarchy:

Intitiative -> Epic -> Story -> Sub-task

I have Epics split across multiple projects but can't find a simple way to just set a filter to include all levels of issues connected to an initiative. The best I can do is bring back all the linked Epics via JQL parentLink field, but the stories and sub-tasks are not pulled in.

Ideally I don't want to have to rely on users ensure that each new story is tagged with a custom component that I can add to the filter.

Am I missing a simple and easy way to achieve this?


5 answers

Luckily I already have ScriptRunner installed so was able to achieve what I wanted with:

"Parent Link" = PROJECT-17 OR issueFunction in issuesInEpics("'Parent Link' = PROJECT-17") 

It still excludes sub-tasks but we don't really use that level of detail within Portfolio.

Hey Mat

We're having issues with the schedule section not working if our filters include the "issuesInEpics" jql function - would you mind letting me know which versions of Portfolio and ScriptRunner you are using?



Hi Maree,

Yes, unfortunately we have run into the same issue now that we have completed our high level estimates. All the epics and stories display fine in the scope panel and we can create new stories via this screen without problems, but none of the issues are picked up for scheduling.

We will probably have to kludge it by creating a cross project component which is actually the project name. Definiteley not ideal and not a neat approach.

I intend to raise it as a bug, but as it's connected with use of a 3rd party add-in I don't expect much.



Hey Mat

Bugger, was hoping it was just my version combination :(

I've raised a support request with Atlassian for the issue, will respond again if it gets anywhere :)



Hi Maree,

Just had a notice from Atlassian support indicating that there was a bug in the Scriptrunner plugin:

which is fixed on the latest version of the plugin 5.0.14. release note -

I have upgraded to the latest version of ScriptRunner and am pleased to say that this does indeed fix the problem and issues are now being picked up and scheduled as expected in Portfolio!

Hope that helps.



Why not simply use the search query of: "Parent Link" in linkedIssues("<insert Initiative ticket ID>")

That query does not include sub-tasks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Feedback & Announcements

The 2020 Content Awards

Happy New Year, Atlassian Community! In 2020 we all had to learn how to connect, share, and learn in an entirely different way. After a year of so much bad, we deserve to celebrate some good! The...

1,870 views 40 67
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