# Feature AGILE-455 - Scope change on work package overview widget counting story point changes

Project: Stream agile
Status: tested
URL: https://community.openproject.org/work_packages/AGILE-455

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint | Sprint 13 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag | Sprint reports |
| Requires doc change | Yes |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Tobias Dillmann |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Acceptance criteria**

*   The work package overview widget &quot;Work packages within the sprint&quot; has the calculation for scope change updated
    
    *   It continues to count the totals for work packages added and removed
        
    *   It continues to count the story points for those work packages added or removed
        
    *   For work packages which didn&#x27;t change the sprint assignment:
        
        *   Per work package, calculate the difference between the story points when the sprint started compared to the reference finish (current time or sprint finish button pressed)
            
        *   If the difference is positive, count that value towards the story points added (the value before the &quot;/&quot;)
            
        *   If the difference is negative, count that value towards the story points removed (the value after the &quot;/&quot;)
            
        *   If there is no difference, ignore it.
            

Another way of looking at this is that the sum of story points on &quot;Initially planned&quot; and &quot;Scope change&quot; should match the sum of &quot;Completed&quot; and &quot;Unfinished&quot;
