How do you create cycle times that include linked issues?
Asked by Christian Jordan:

Hey folks,

I'm working on trying to find a way to see all of my open tickets in JSM and tie them to open linked issues and calculate things like lead and cycle times.

For example, if I have a JSM ticket open and it's aging, I'd like to know what the hold-up (or hold-ups for multiple tickets) is and be able to identify how long those hold-ups have been an issue.

My current thought is to extract all of my JSM tickets into Excel (done, shows me age and last update values of the JSM ticket). I can even show the various linked issues, but I cannot see age of those linked issues.

My next step was to pull a list of all of the linked issues and get things like created date, updated date, and resolution date--but JQL doesn't seem to have an easy list from which to pick.

Just curious if anyone else has run into something like this and found an acceptable resolution. Ultimately, customers don't care why an issue is aging (nor do I blame them) but I'd like to know so that I can better work through achievement of SLAs, etc.

Thanks all!

-Chris


Answers:
author: Valeriia_Havrylenko_SaaSJet
body: Hi [@Christian Jordan](/t5/user/viewprofilepage/user-id/5056770) ?  

Cycle times that include linked issues are in our features requests. But now you can calculate lead and cycle times precisely with [Time in Status](https://marketplace.atlassian.com/apps/1219732?utm_source=Atlassian_Marketplace&utm_medium=referral&utm_campaign=Comment_How-do-you-create-cycle-times-that-include-linked-issues_20240612) add-on.  

To get total duration, all you need is to:

* create a status group;
* choose statuses;
* click the "Save" button.

![Frame 1021.png](https://community.atlassian.com/t5/image/serverpage/image-id/314190iA7F5A81E8DB763D6/image-size/large?v=v2&px=999 "Frame 1021.png")  

Add-on has [30-days trial version](https://marketplace.atlassian.com/apps/1219732?utm_source=Atlassian_Marketplace&utm_medium=referral&utm_campaign=Comment_How-do-you-create-cycle-times-that-include-linked-issues_20240612), free up to the 10 users and developed by my SaaSJet team.  

I hope this helps ?

comments: author: Christian Jordan
body: Excellent. Thanks for the suggestion!

-Chris


author: Gizem G?k?e _OBSS_
body: Hello [@Christian Jordan](/t5/user/viewprofilepage/user-id/5056770) ,

Listing issues with their linked issues is in our current roadmap but, I can tell you how to calculate total cycle times and provide you a workaround for listing linked issues while this feature is being developed by my team at OBSS.

You can calculate Cycle Time by using, [Timepiece (formerly Time in Status)](https://marketplace.atlassian.com/apps/1211756/time-in-status?hosting=cloud&tab=overview&utm_source=community&utm_medium=answer) ,the oldest and leading "Time in Status" app in Atlassian Marketplace. Our app is available for both Jira Cloud, and Data Center.

Timepiece mainly allows you to see how much time each issue spent on each **status** or each **assignee**.

**Status Duration** report (please see the screenshot above) which shows how much time each issue spent on each status. You can combine the time for multiple statuses to get metrics like **Issue Age, Cycle Time, Lead Time, Resolution Time** etc.

![Cycle Time.png](https://community.atlassian.com/t5/image/serverpage/image-id/329654iFB2F4263ABCD3A86/image-size/large?v=v2&px=999 "Cycle Time.png")

For all numeric report types, you can calculate **averages** and **sums** of those durations grouped by the issue fields you select.

![Total Cycle Time.png](https://community.atlassian.com/t5/image/serverpage/image-id/329655i62BB780950098C8B/image-size/large?v=v2&px=999 "Total Cycle Time.png")

**Important Note:** As you can see from the screenshots above, I've used a custom JQL to list both the linked issues and the original issue itself. So if you want to calculate the total cycle time of a particular issue, including the linked issues, you can use the method I've used in my example.

Here is the JQL:

*issue in linkedIssues("GIZ-16") or issue = "GIZ-16"*

Visit [Timepiece (formerly Time in Status)](https://marketplace.atlassian.com/apps/1211756/time-in-status?hosting=cloud&tab=overview&utm_source=community&utm_medium=answer) to explore and enjoy **a 30-day free trial** to experience the full range of features.

If you wish, you can also [schedule a live demo.](https://calendar.app.google/faQYgsEekRdFxnPj7) We will provide a comprehensive overview of the application and address any inquiries you may have.

Hope it helps,

Gizem


author: Danut M _StonikByte_
body: Hi [@Christian Jordan](/t5/user/viewprofilepage/user-id/5056770),

Have a look over this article as it might be of great help to you:

<https://community.atlassian.com/t5/App-Central/An-effective-dashboard-for-Service-Desk-and-Customer-Support/ba-p/2360369>

As you will see, our **[Great Gadgets](https://marketplace.atlassian.com/search?query=stonikbyte%20great%20gadgets%20agile)** app gives you all you need for tracking cycle time, lead time and age directly in Jira, without being necessary to export data in Excel!

The **WIP Aging Chart** gadget displays the issues in real time by their current board column or current status (horizontal axis) and by their age (vertical axis).

![](https://blogstonikbyte.files.wordpress.com/2023/05/image-9.png?w=695)

By setting a custom threshold (the red line), it allows you to easily identify those that are already aging more than expected (those in red color), so you can intervene if necessary.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/329342i6482941B01902629/image-size/large?v=v2&px=999 "image.png")

The other gadgets **Cycle Time Control Chart** , **Lead Time Histogram** and **Cycle Time Trend** offered by the same app let's you measure your team's cycle time /lead time, visualize the trend and see if they improve in time.

You could start with **1 month free trial**. If you need any help, please don't hesitate to contact support@stonikbyte.com.

Hope this helps.

Danut.


Tags: cloud

jira-service-management

jira-service-management-cloud