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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Exporting all entities in a JIRA Portfolio Plan using the REST API Edited

I am trying to export all type of entities in an Atlassian JIRA Portfolio Plan using the REST API, but seems to miss the correct request parameters.

I successfully get 'Plan' properties such as "title", "planTeams", "excludedVersions", etc. for plan with ID 75 using this REST request below:

https://<local server>/rest/jpo-api/latest/plan/?ids=75  

How do I reach the entities structure for a full list of all Epics, Stories, Sub-tasks in this Portfolio plan? 

(like the one the system allows to export in the "Reports"->"Scope" Report)


Reference:  Portfolio for Jira - Public API  ; Portfolio for Jira - Team Management Public API 

1 answer


I might have found a solution, but it does not sit within Jira portfolio plan API, it's in JIRA Rest API.

First, by the query you already run on JPO, you get the id of your plan (i.e. 28 ) , then you use JQL (either in JIRA GUI or via  search API:

issuekey in issuesInPlan(28) and type=epic

which via API would be:

https://<local server>/rest/api/2/search?jql=issuekey%20in%20issuesInPlan(28)%20and%20type%3Depic

that returns all epics in your plan.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Advanced Roadmaps

Introducing Advanced Roadmap’s new dependency report

To see this feature in action check out our recent dependencies demo here: Keeping on top of your dependencies is a key part of ensuring project success....

119 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you