Skip to end of metadata
Go to start of metadata

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.