Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

EasyBI filter only issues that have passed through a specific status Edited

I want to run some reports/get some information on issues that, at some point in their history, were in a certain status.

IE I want to get the average resolution days of any issues that, at some point, were in the 'Escalated' status. Find out how long it takes to resolve tickets that needed to be escalated.

I thought something like this would work:

CASE WHEN ([Measures].[Transitions to status], [Transition Status].[Escalated]) > 0 THEN
  [Measures].[Total resolution days] / [Measures].[Issues resolved]
END

But all that does is show me the average resolution time of ALL tickets for any period where at least one ticket was in Escalated status.

Is this possible?

1 answer

Taylor, 

You'll have to use the Avg function around a filter. Something like this:

Avg(Filter([Issue].[Issue].Members,
([Measures].[Transitions to status], [Transition Status].[Escalated]) > 0),
[Measures].[Total resolution days])

This is filtering for issues that have transitioned to Escalated and averaging the Total resolution days of those issues.

Depending on the size of your cube, any calculation that filters on all issues like this one is doing has the risk of timing out.

I hope this helps!

-Kat Jansen

Suggest an answer

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

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

216 views 2 5
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