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

Cheers,

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)

https://jira.atlassian.com/browse/JPOSERVER-1663

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

33 views 0 2
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