# Bug AGILE-537 - Sprints with planned dates in the past that are "in planning" should not show a sprint report

Project: Stream agile
Status: closed
URL: https://community.openproject.org/work_packages/AGILE-537

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Backlogs |
| Target versions | 18.0.0 |
| Observed in versions | 18.0.0 |
| Sprint | Sprint 14 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jens Ulferts |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

###   

> Having a work package with story points added today to a sprint in planning with start/finish dates in the past, the widget renders a blankslate and the report ignores the added work package completely.
> 
> The blankslate message is: &quot;The burndown chart will appear here once the sprint has an open work package with estimated story points.&quot;, which is arguably not correct in this case, because the sprint does contain an open work package with story points.
> 
> \-- [Attila Dombi](https://github.com/opf/openproject/pull/27084#discussion_r4634553946)

###   

###   

###   

###   

### Steps to reproduce

1.  Have a sprint with start/finish dates in the past that was never started and is &quot;in planning&quot;
    
    1.  Project backlog settings have story points as their estimation unit selected (this is the default setting)
        
2.  Add a work package with story points to it
    
3.  Visit the sprint report and observe the burndown chart
    

### What is the buggy behavior?

*   It shows a blankslate with the message: &quot;The burndown chart will appear here once the sprint has an open work package with estimated story points&quot;
    
*   The report page does not display the work package added in any of the widgets.
    

### What is the expected behavior?

*   Sprints that are _in planning_ (were never started) and have a start and finish date that are set in the past, should not show a sprint report.
    
*   Much like sprints that have no start/finish date set, the sprint report should show one blankslate with an error message instead of attempting to render all sprint reports widgets.
    
    *   \[open\] headline: Planned sprint dates are in the past
        
    *   \[open\] description: The sprint was planned, but it was never executed. Change the planned start and finish dates to a future time in order to see the sprint report.
