Portfolio for Jira - retrieve scenarios (REST or other)

Hi everyone,

I am trying to implement a script that would redistribute the total estimate of an issue to different stages (through the private rest api endpoint

/rest/jpo/1.0/scenarios/updateIssues

but can't make it work as it requires the scenario ID. I only have the plan ID and I'm looking for a way (any way) to retrieve all scenarios for a particular plan.

Any ideas please? Thanks a lot.

1 answer

This widget could not be displayed.

Hi Marketa,

From what I know the only way to interact with the Portfolio API at this time is to use something like the Structure plugin as there are a few open Suggestions to Implement a REST API for JIRA Portfolio:

JPOSERVER-438 - Implement a REST API for JIRA Portfolio

JPOSERVER-1814Publish Portfolio for JIRA Java API

Please vote on both of these and add your use case to the notes to add impact.  While there isn't a published database schema you can use the below AO prefixes to hopefully find the data you're looking for:

  • AO_A415DF - JIRA Portfolio (Portfolio for JIRA)
  • AO_82B313 - JIRA Portfolio Team Management
  • AO_D9132D - JIRA Portfolio Live Plans

Cheers,

Branden

Suggest an answer

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

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

299 views 1 4
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