Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to embed a filter in a portfoliochildissuesOf query

Hi all,

I'm trying to write a JQL filter in which I want to show all of the Epics connected to all of the Initiatives available in a Portfolio project.

I did this in Jira Server, but now my client is on Jira Cloud and the functionality doesn't work anymore. In Jira Server we had the option issuefunction with Scriptrunner. But this now as standard in Jira Cloud Premium with the JQL portfoliochildissuesOf. And Scriptrunner for Cloud doesn't offer this functionality anymore.

  1. I've created a filter with the following JQL:
  2. project = Portfolio
  3. Which resulted in all of the initiatives in the Portfolio project. This project only has initiatives.

  4. Named the filter 'All_Initiatives'.
  5. Now I'd like to embed this filter within the 'portfolioChildissuesOf' function in Jira Cloud. But from here on it gives me trouble.

These are the JQL queries I tryed so far:

  • issue in portfolioChildIssuesOf("filter = 'All_Initiatives'") AND issuetype = Epic
  • issue in portfolioChildIssuesOf("filter = 'All_Initiatives'")
  • issue in portfolioChildIssuesOf("filter = All_Initiatives") AND issuetype = Epic
  • issue in portfolioChildIssuesOf("filter in ('All_Initiatives')") AND issuetype = Epic

It all resulted in an error: "Unable to find an issue with matching key filter in ('All_Initiatives')"

I can't find an answer to this specific question in order threads.

What do I miss?

Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,914 views 37 49
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