JQL query to find child issues of Initiative

Is there a single JQL query which can find all the child issues of a given Initiative? down through the hierarchy including Epics, Issues, etc?

2 answers

1 vote
Roi Fine Atlassian Team Jan 21, 2018

Hi Traci,

Getting all child issues of an initiative via JQL is possible since Portfolio 2.10, you can check the details here: https://confluence.atlassian.com/jiraportfolio/portfolio-for-jira-2-10-release-notes-940678731.html#PortfolioforJira2.10releasenotes-childissues


Is it possible to use JQL in the Confluence JIRA Issue/Filter macro to display a table of all the issues of a Portfolio Initiative?  The link above seems to be creating a query in Portfolio itself [ issuekey in childIssuesOf("INIT-001") ], but I can't seem to find equivalent JQL syntax that will work in the Confluence macro to retrieve the issues.

I can insert the initiative itself with the macro, and assuming all the issues also have the label "MyLabel", I can generate the table with 'labels = "MyLabel" '.  But I'd like to directly retrieve the initiative's issues.

This is cloud JIRA with Portfolio and Confluence on.

This sound like you can only query for child issues for one Initiative at a time.  Is this correct?  Is there a way you can put more than one Initative in this query issuekey in childIssuesOf("INIT-001")? So, let's say, I want to see all the Child Issues in INIT-100 and INIT-200, can I query for both of them at the same to show on the screen?  Hope this make sense.  Thanks.

@Mao Lee, childIssuesOf() only takes one argument, but you can do this:

(issuekey in childIssuesOf(INIT-100) OR issuekey in childIssuesOf(INIT-200))

0 votes

At the moment it does not appear to be possible.  Initiatives are a function of JIRA portfolio, and at least at this time, this relationship is not searchable via JQL, even with 3rd party add-ons.


I would refer you to this other related community post: https://community.atlassian.com/t5/Answers-Developer-Questions/JIRA-Portfolio-How-do-you-configure-the-issue-link-type-is-used/qaq-p/549892  


There is an existing feature request to have the parent link behave in the same way as epic link does (which in turn would allow for the JQL searching of this kind)




Suggest an answer

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

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

466 views 1 14
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