Time between to actions

Default measure Average resolution workdays works for the time between Issue creation date till issue resolution date. If you would like to calculate any other period of issue lifecycle, you would like to use some custom calculation with MDX or JavaScript custom field.

In the example JavaScript shared within this post, I counted time from some value that was added to a custom field till the resolution date.

It seems you have a different case there. We have quite a community posts to address cycles by particular statuses.

Two posts on JavaScript calculation examples on statuses:

Two posts using MDX calculations:

Daina / support@eazybi.com