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

This widget could not be displayed.

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

460 views 3 17
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