Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Cumulative Sprint Time spent


I Try to build a new calculated measure to sum time spent on issues during a sprint, I took inspiration from sprint burn down exemple:

Then I adapted the "Cumulative Story Points resolved" calculated measure, but I have an issue because the cumulative on the first day of the sprint is not equal to the hours spent on that day

Here is my code :

WHEN NOT [Time].CurrentHierarchyMember IS [Time].DefaultMember
    { [Time].CurrentHierarchyMember.Parent.Level.Members.Item(0):
      [Time].CurrentHierarchyMember.Parent.PrevMember },
    [Measures].[Hours spent]
  ) +
    [Measures].[Hours spent]
WHEN NOT [Sprint].CurrentMember IS [Sprint].DefaultMember
    { [Sprint].CurrentMember.Level.Members.Item(0):
      [Sprint].CurrentMember },
    [Measures].[Hours spent]

If anybody can help me on this point, I will be greatfull.

Best regards,

1 answer

1 accepted

1 vote
Answer accepted

This formula will calculate cummulative hours spent on issues in selected sprint since beginning of time. It seems that in your case hours were spent on issues in this sprint already before beginning of this sprint therefore on first day it already shows much higher amount of cummulative hours spent.

If you want to calculate cummulative hours spent just within sprint dates then you can define "Cumulative Time Spent" with formula:

    [Measures].[Time within Sprint] = 1
  [Measures].[Hours spent]

It will filter only Time periods within current sprint (using the same "Time within Sprint" measure) and then will calculate cumulative sum from first sprint Time period until current.

Thks for the tips Raimonds, it is exactly what I needed.

Best regards,

Hi @Raimonds Simanovskis 

Is there any way I can add any more customized search criteria in my search bar ?


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

110 views 0 9
Read article

Atlassian Community Events