Portfolio Child Issues & Filter? - All child issues

Morris Coyle December 8, 2020

Is it possible without the need for a plug-in to use a filter with the portfoliochildissuesof function?

 

I am trying create a report of the child issues of every Initiative we have within a certain project. I've tried many things but nothing that works, I thought that if i created a filter for the project in question that I could use that in something like 'issue in portfolioChildIssuesOf(FILTER=12345)' but alas not.

It doesn't have to be this solution just looking or anything that that will return all the child issues for all the Initiatives I have in one project.

2 answers

1 vote
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2021

Hi Morris,

I can confirm that ScriptRunner for Jira Cloud does not provide the same portfolioChildrenOf() and portfolioParentOf() JQL functions that the server version provides in order out of the box in order to search for Portfolio issues as the API to provide this function does not exist in the Jira Cloud as it does in Jira Server.

However, you may be able to return issues linked recursively using the linkedIssuesOfRecursive() JQL function which the plugin provides and is documented here.

You can see a more comprehensive list of the differences between the cloud and server versions of ScriptRunner inside of the documentation page located
here.

However, if this functionality is something that would be of interest to your organisation then I would ask you to raise a request for this in our public backlog located here.

Regards,

Kristian

0 votes
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2021

What is the issue hierarchy that you are using in your project? Are you just trying to exclude all the top level issues and only show every child issue? If so you could just do something like this ...

project = MYPROJECT AND issueType not in (Initiative) AND resolution is EMPTY
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2021

Also portfolioChildrenOf is a function of ScriptRunner, but I do not believe it exists for Jira Cloud. It isn't listed in their documentation.

Suggest an answer

Log in or Sign up to answer