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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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