Hi again guys
I’m trying to build a velocity report (sum of story points delivered per month), taking into account that:
- There is no notion of Sprint, so I need to use the release date of the “fix version” associated to the issues.
- Some issues can have more than 1 fix version associated so I need to count the story points of that issue only once (when the release date of the first fix version took place).
- There are some issues which don’t have “fix version” but must be considered as delivered (those are special cases that must be handled in that way), so we flag them as “delivered” at the moment they have transitioned to a specific status “DELIVERED”.
- We cannot rely on status “DONE” or resolution “Done” because the “DELIVERED” status is just an intermediate phase within issue workflow.
NOTES:
- I know the way to flag “delivered” issues is a little bit twisted and complex, but it’s the way it’s: We cannot change the logic behind, nor create Sprints.
- Here are the 2 formulas I have tried but with no success (the results are not the expected ones):
FORMULA ATTEMPT #1
Sum(
Filter(
Descendants([Issue].CurrentMember,[Issue].[Issue]),
[Issue].CurrentMember.get(‘Story Points’) > 0
AND
– by first date the issue transitioned to status = DELIVERED
DateInPeriod(
[Measures].[Transition to status first date],
[Time].[Year].DefaultMember
)
AND
([Measures].[Transitions to status],
[Transition Status].[DELIVERED],
[Issue Type].CurrentHierarchy.DefaultMember,
[Time].CurrentHierarchy.CurrentMember) > 0),
[Issue].CurrentMember.get(‘Story Points’)
)
FORMULA ATTEMPT #2
Sum(
Filter(
Descendants([Issue].CurrentMember,[Issue].[Issue]),
[Issue].CurrentMember.get(‘Story Points’) > 0
AND
[Measures].[Version release date] > 0
AND
– by first date the issue transitioned to status = DELIVERED
DateInPeriod(
[Measures].[Version release date],
[Time].CurrentHierarchy.DefaultMember
)),
[Issue].CurrentMember.get(‘Story Points’)
) +
Sum(
Filter(
Descendants([Issue].CurrentMember,[Issue].[Issue]),
[Issue].CurrentMember.get(‘Story Points’) > 0
AND
[Measures].[Version release date] = 0
AND
– by first date the issue transitioned to status = DELIVERED
DateInPeriod(
[Measures].[Transition to status first date],
[Time].CurrentHierarchy.DefaultMember
)
AND
([Measures].[Transitions to status],
[Transition Status].[DELIVERED],
[Issue Type].CurrentHierarchy.DefaultMember,
[Time].CurrentHierarchy.CurrentMember) > 0),
[Issue].CurrentMember.get(‘Story Points’)
)
Can you please help me here?
Thanks in advance for your answer