# Bug AGILE-479 - Velocity chart: information are incorrect when sprint is In planning mode

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

## 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 13 |
| 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 | Tobias Dillmann |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

###   

### Steps to reproduce

1.  Login and go to a project/Backlogs
    
2.  Have an active sprint and the next one in planning
    
3.  Complete the active one (I also moved the unfinished work package to the next one)
    
4.  Open the sprint report of the one which is in planning
    

### What is the buggy behavior?

*   The previous sprint is not visible at all on the velocity chart
    

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/926337/content">

Interestingly, when we start it, the previous sprint is visible

### What is the expected behavior?

1.  Velocity chart should show the same information whether the in planning or in active mode, in this case it should show the previous sprint as well
    

###   

###   

### Environment information

**OpenProject version**

**Core build**

[4588dd7ca3b7f2d29d0ff4f3e21e0bba4d873fc1](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F4588dd7ca3b7f2d29d0ff4f3e21e0bba4d873fc1)

**Product version**

[370d7f8956ceb3f4eb9a1dd7592210b436a92e12](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F370d7f8956ceb3f4eb9a1dd7592210b436a92e12)

**Core version**

OpenProject 18.0.0
