It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

eazyBI - Average cycle time

Hello EazyBI users/Support team,

I need to calculate the average cycle time taken to complete an issue considering only a specific set of statuses in my JIRA workflow for a given time period.

I followed the instructions given in the below blog.

https://mraddon.blog/2019/02/11/how-to-calculate-lead-time-or-real-average-resolution-days-with-eazybi-and-jira-part-ii

 

Step 1: I created a calculated member "Unresolved Status" in the Transition status dimension with the formula as given below to consider only a specific set of statuses to calculate the average cycle time.


[Transition Status].[Unresolved Status] =
Aggregate({
[Transition status].[New],
[Transition status].[In Squad Review],
[Transition status].[Ready for grooming],
[Transition status].[Grooming],
[Transition status].[Groomed],
[Transition status].[Ready for Development],
[Transition status].[In development],
[Transition status].[Ready for Peer Review],
[Transition status].[In Peer Review],
[Transition status].[Ready for testing],
[Transition status].[In Testing],
[Transition status].[Ready for Acceptance],
[Transition status].[In Acceptance],
[Transition status].[Resolved],
[Transition status].[Merged]
})

 

Step 2: Then I created a calculated measure “Average Cycle Time” as given below to consider only the resolved issues in the given time period. (following the steps given in this blog post)

[Measures].[Average Cycle Time] =
Sum(
Filter(Descendants([Issue].CurrentMember, [Issue].[Issue]),
DateInPeriod([Issue].CurrentMember.get(“Resolved at”), [Time].CurrentHierarchyMember) AND
[Measures].[Issues resolved] > 0),
([Measures].[Workdays in transition status],
[Transition status].[Unresolved status],
[Time].CurrentHierarchy.DefaultMember)
) / [Measures].[Issues resolved]

But after I activate these user defined measure “Average Cycle Time” and member “Unresolved Status” I get an empty column for Average Cycle Time, though I get right data for Issues resolved column. And there are values in the workdays in transition status.

I have Issues, Time and Transition Status (with All Transition Statuses member) selected on the Rows.

Could someone please help debug the issue here and let me know what I am missing. Appreciate your help and response.

 

 

1 answer

Alright, I figured out a silly mistake in the calculated measure, “Resolved” is missing an “at”. It works now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

How Unito's Newest Features Can Make Your Integrations Better

...ttachments another team sends over from Jira. Much easier for everyone involved. True sync for 100% of Trello native fields Trello is one of the most popular work management tools out there, and more Unito u...

177 views 0 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you