portfolioParentOf()
Description:
Returns child issues (on Portfolio hierarchy) of issues specified by the provided subquery.
See also: portfolioChildOf()
Note:
Since you need to enclose the provided subquery using doble quotes, you must to escape any doble quotes using in the subquery by preceding a backslash after the double quotes, alternatively you can use a single quote in some cases.
Syntax | portfolioParentOf(subquery) |
Available since | v2.0.0-RELEASE |
Supported fields | Issue |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find parent issues of issues in a certain status::
issue in portfolioParentOf("status = 'To Do'")• Find all Initiatives of unresolved Epics you might use:
issue IN portfolioParentOf("type = Epic AND resolution IS EMPTY") and type = Initiative• Find 'Themes' that have no 'Initiative' children:
issue NOT IN portfolioParentOf("type = Initiative") AND type = ThemeReal World Use Cases:
· Search for Portfolio Parent issues without any Child issues (by Thomas Nielsen at ATLASSIAN Community)
· How to give a JQL subquery inside ParentIssuesOf or ChildIssuesOf (by Filipe Nascimento at ATLASSIAN Community)
JQL Function Reference