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:
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)
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:
that returns all epics in your plan.