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

Velocity chart sprint issue limits do not take into account the board filter

      Problem

      When viewing a Velocity chart, the following error is displayed even though the board filter returns fewer issues than either X or Y:

      We can't display this report

      The sprints in this timeframe contain X issues, which is more than the Y allowed by your Jira admin. Try shortening the timeframe.

      Environment

      Jira Software 9.17.2

      Steps to Reproduce

      1. Create a Jira instance and create two Scrum projects (SCRUM1, SCRUM2) and a sprint.
      2. Create a Scrum board whose filter is restricted to issues in SCRUM1.
      3. Create 7 issues in SCRUM1 and add them to the sprint.
      4. Create 1 issue in SCRUM2 and add it to the sprint.
      5. Start and complete the sprint.
      6. Set the sprint issue limit to 7 issues using the REST API method described in How to increase the Velocity Chart's limit of 120 sprints and 25000 estimated issues in Jira Software Server and Data Center.
      7. View the velocity report for the Scrum board.

      Expected Results

      The velocity report should be displayed normally, since the number of sprint issues matching the board filter does not exceed the configured limit.

      Actual Results

      The We can't display this report: The sprints in this timeframe contain 8 issues, which is more than the 7 allowed by your Jira admin. Try shortening the timeframe error is displayed.

      Workaround

      Increase the sprint issue limit as described in How to increase the Velocity Chart's limit of 120 sprints and 25000 estimated issues in Jira Software Server and Data Center to a value larger than the total number of issues in all sprints associated with the board.

          Form Name

            [JSWSERVER-26140] Velocity chart sprint issue limits do not take into account the board filter

            Fixed by using board's query to count the issues in closed sprints to the limit.

            Artur Gniadzik added a comment - Fixed by using board's query to count the issues in closed sprints to the limit.

              agniadzik Artur Gniadzik
              8379abf86dad Marcus Fong
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: