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

REST API jira/rest/greenhopper/1.0/sprints/1 gives incorrect results

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • None
    • None
    • 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.

      This REST api to get the sprints does not return all sprints, only the active sprints. Also, it does not return the active sprint unless an issue is already assigned to it.

          Form Name

            [JSWSERVER-6650] REST API jira/rest/greenhopper/1.0/sprints/1 gives incorrect results

            While this is not a public API future sprints are now treated the same way as active sprints since 6.3.

            Martin (Inactive) added a comment - While this is not a public API future sprints are now treated the same way as active sprints since 6.3.

            So, is there any REST api that will give me all of the sprints for a board ? I am trying to work-around the problem where you cannot drag/drop issues on a board, or create a sprint unless you have ordering by ranking. I have a board that is not ordered by rank, so I am creating my own custom plugin that allows me to select the sprint (from another board that is ordered by rank) and move it. This is working using the Greenhopper REST api, but it does not give me all of the available sprints.

            Roger Davies added a comment - So, is there any REST api that will give me all of the sprints for a board ? I am trying to work-around the problem where you cannot drag/drop issues on a board, or create a sprint unless you have ordering by ranking. I have a board that is not ordered by rank, so I am creating my own custom plugin that allows me to select the sprint (from another board that is ordered by rank) and move it. This is working using the Greenhopper REST api, but it does not give me all of the available sprints.

            Future sprints do not exist (they are markers not sprints nin the current implementation).

            Thanks,
            Shaun

            Shaun Clowes (Inactive) added a comment - Future sprints do not exist (they are markers not sprints nin the current implementation). Thanks, Shaun

              Unassigned Unassigned
              780996edfdd5 Roger Davies
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: