Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25292

REST API doc should mention that it does return up to 100 plans

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Issue Summary

      Our Advanced Roadmap documentation for the REST API at https://docs.atlassian.com/portfolio-for-jira-server/REST/2.13.0/jpo/ does not state that it will return up to 100 plans.

      Steps to Reproduce

      1. Create more than 100 live plans on Advanced Roadmap
      2. Run the http://<jira base url>/rest/jpo-api/1.0/plan

      Expected Results

      JSON with all the plans

      Actual Results

      JSON with 100 plans

      Workaround

      • Get how many plans exist
        http://<jira base url>/rest/jpo-api/1.0/plan/count
      • It will return the total number of plans, for instance, 108
      • Doing a small calc (108/100), we will see that we will need 2 pages to get all the results:
        http://<jira base url>/rest/jpo-api/1.0/plan?page=1
        http://<jira base url>/rest/jpo-api/1.0/plan?page=2

              b1d851c28537 Sachithra Dangalla
              imurakami@atlassian.com Murakami [Atlassian Support]
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: