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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

176 views 0 4
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