Time spent for task with complexity (story points)

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
Accepted answer

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.

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
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

344 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you