Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,038
Community Members
 
Community Events
176
Community Groups

portfolioParentsOf - how do I get this?

I have installed a demo version of ScriptRunner and am attempting to use the function portfolioParentsOf, but that is not an allowed function. Our instance is Jira Cloud - is this function Server only? And if so, are there plans to add it to Cloud?

1 answer

1 accepted

0 votes
Answer accepted

Hi Janene,

Thank you for your question.

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 Jira Cloud like 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.

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,

Kristian

Thank you Kristian. Unfortunately, linkedIssuesOfRecursive does not have the functionality I was looking for, as it does not find parents. 

Hi Janene,

Thank you for your response.

Unfortantelty this means that it will not be possible to search for portfolio issues using JQL with ScriptRunner for Jira Cloud. 

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events