Insights in Jira Software Board doesn't consider Sub-Task's Story point when calculating Sprint Progress Percentage

XMLWordPrintable

    • 1
    • 4

      Issue Summary

      The new Insights Feature on the Scrum board shows the Estimation data based on the Estimate statistic set for the board (Either Story Points or Time).
      Currently seems like Insights only checks for Story Points on Standard Issue Types and doesn’t calculate on the sub-task story point… So if a parent story has no story points and the Sub-tasks does, Insight doesn’t show any progress on the progress bar (Right-hand side of the board).
      Currently, we do not have any ability, to sum up story points from sub-tasks and populate them to its Parent Estimation Field https://jira.atlassian.com/browse/JSWCLOUD-9167. So it is not possible to populate the Sum of Story Points in The Parent Issue's Story Points as of now.

      Steps to Reproduce

      1. Enable the Insights Feature for your boards.
      2. Create a Sprint and Create a Standard Issue Type with some Sub-Tasks. (For Testing add 2 sub-tasks)
      3. Add the Standard Issue to the newly created Sprint and Start the Sprint.
      4. Make sure the Board Settings > Estimation > Estimation Statistic is set to "Story Points"

      Scenario 1:

      • Add some Story Points to Sub-Tasks. Leave the Parent Story Points to Zero.
      • Go to the board and Move only one Sub-Task from "To Do" to "In Progress".
      • At this point Insights should show "Not Started" to be 50% and "In Progress" status to be 50% On Insights, as one sub-task is in "To Do" and the other in "In Progress"
      • Sub-Tasks Story Points are Ignored and Progress Bar Doesn't Update. It stays to be 100% for "Not Started/To Do" and also for "In Progress"

      Scenario 2:

      • Add some Story Points to Sub-Tasks. Also Manually add the sum of sub-task Story points to the Parent Issue's Story Points.
      • Go to the board and Move the Parent Issue and only one of the sub-tasks from "To Do" to "In Progress".
      • At this point Insight should show "Not Started" to be 50% and "In Progress" status to be 50% as one sub-task is in "To Do" and the other in "In Progress" for the Parent Issue in the Sprint.
      • Sub-Task Story Points are Ignored and currently only Standard Issue Type Story Points are considered and hence the "Not Started/To Do" is 0% and "In Progress" is 100% in the Progress bar.

      Expected Results

      When there are one or more Sub-Tasks under a Parent/Standard Issue Type, Calculate the Insight Statistics with the help of Sub-Task Story Points and not with the Standard Issue Story Points.

      Actual Results

      Sub-Task Story Points are Ignored when calculating Insights Statistics... Only Parent/Standard Issue Type Story points are taken into account... Hence, when you move one of the 2 sub-task forward on the board, Insights still show no progress.

      Workaround

      1. No workaround at the moment for Standard Issue Types and Sub-Tasks.
      2. Insights is capable of calculating correctly when the relationship is between Epic and Standard Issue Types.

      Possible Workaround: (But not complete)

      • Create an Automation Rule that sums up all the Sub-Tasks Story Points and adds it to their Parent Story Points field. Add or subtract the parent story point accordingly, when a new sub-task is added or an existing sub-task is removed.
      • Create another automation rule that is when ALL the sub-task under a parent move from "To Do" to "In Progress", the parent automatically moves to "In Progress" so that the Insights shows 100% when all the Sub-Tasks reach a common Status on the board.

        1. image-2021-08-08-01-15-35-145.png
          418 kB
          Vaibhav Revankar
        2. image-2021-08-08-01-18-57-525.png
          421 kB
          Vaibhav Revankar

            Assignee:
            Unassigned
            Reporter:
            Vaibhav Revankar
            Votes:
            13 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: