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

Sprint Report calculation incorrectly includes cloned issues

      Reproduce:

      • Create a sprint and assign some issues to it.
      • Clone one of the issues and move the cloned issue back to the backlog
      • Start and complete the sprint
      • The sprint report mentions the cloned issue as not completed in the issue table

      Problem is in BurndownUtils#addSprintHistoryChanges method. The code makes the assumption that the first change the sprint custom field value of an issue is setting the value to a sprint, not removing it, as is the case with the cloned issue. This causes the the cloned issue to be counted as being part of the sprint, while it was not.

          Form Name

            [JSWSERVER-9784] Sprint Report calculation incorrectly includes cloned issues

            Bugfix Automation Bot made changes -
            Minimum Version New: 6.03
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2855347 ] New: JAC Bug Workflow v3 [ 2937666 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2542295 ] New: JAC Bug Workflow v2 [ 2855347 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1548707 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2542295 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: affects-server fixme future_sprints New: affects-cloud affects-server fixme future_sprints
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: fixme future_sprints New: affects-server fixme future_sprints
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 908685 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1548707 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: GreenHopper Kanban Workflow 20141014 [ 746927 ] New: JIRA Bug Workflow w Kanban v6 [ 908685 ]
            mtokar.adm made changes -
            Workflow Original: GreenHopper Kanban Workflow v2 [ 555193 ] New: GreenHopper Kanban Workflow 20141014 [ 746927 ]
            Michael Tokar made changes -
            Sprint Original: Finish Coathanger [ 824 ]

              Unassigned Unassigned
              melias MichaelA (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: