Time spent for task with complexity (story points)

Adrien Naudet
Contributor
September 2, 2013

Hi,

I would like to calculated the time spent on task where there is story points ae gretter than 0.

To calculate it, I built this formula :

Sum(
  Filter(
    { [Sprint].CurrentMember:
      [Sprint].CurrentMember },
    [Measures].[Story Points created] > 0
  ),
  [Measures].[Hours spent]
  )

It works well for the issues within a sprint, but I would like to use it over the sprints to see the evolution for all the issues per sprint. And when I do it the formula count all the time spent even if there is no story points on the issue.

Does anybody have any idea about what do I have to modify in the formula to make it works over the sprints ?

Best regards,

1 answer

1 accepted

0 votes
Answer accepted
Raimonds Simanovskis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2013

You probably need to use similar solution to what is described in https://docs.eazybi.com/display/EAZYBIJIRA/Issue+resolution+days+reporting documentation page. You need to iterate over all issues in current sprint and select only those with story points and then sum hours spent on these issues.

Try the following formula:

Sum(
  Filter(
    NonEmptyCrossJoin([Issue].[Issue].Members,
      [Sprint].CurrentMember),
    [Measures].[Story Points created] > 0
  ),
  [Measures].[Hours spent]
)

If you would like to use also Time dimension in report to filter Hours spent by time period then use modified condition

([Measures].[Story Points created], [Time].DefaultMember) > 0

to filter issues which are created in any Time period and not just selected.

Adrien Naudet
Contributor
September 9, 2013

Thx Raymonds,

It works exactly like I needed, now I'm able to how much time we spent to produce the sprint velocity.

Best regards,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events