Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL query

Sampath
Contributor
September 17, 2024

Team 

Anybody share JQL query for below 


Created: 
17/Aug/24 7:00 AM

Updated: 18/Sep/24 6:34 AM

Resolved:  18/Sep/24 6:34 AM

 

I am looking for calculation of days taken for one ticket , Daily / monthly / Yearly any help appreciated

4 answers

2 votes
Gizem Gökçe _OBSS_
Atlassian Partner
September 24, 2024 edited

Hello @Sampath ,

As far as I understand you are trying to calculate the resolution time of the tickets. For that I can suggest you a marketplace app which will give you ready-to-go reports.  Timepiece - Time in Status for Jira ,the oldest and the most comprehensive "Time in Status" app in Atlassian Marketplace, which is developed by my team at OBSS, has a report type that will meet your need.  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.

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. 

Resolution Time.png

The app calculates its reports using already existing Jira issue histories so when you install the app, you don't need to add anything to your issue workflows and you can get reports on your past issues as well.

Timepiece reports can be accessed through its own reporting page, dashboard gadgets, and issue view screen tabs

If you wish, you can also schedule a live demo. We will provide a comprehensive overview of the application and address any inquiries you may have.

Hope it helps,

Gizem

1 vote
Rahul_RVS
Atlassian Partner
September 24, 2024

Hi @Sampath 

Looks like you are trying to find out the completion/resolution times for your Jira Issues. You can use Jira Rest API's to pull this data from issue changelogs. Or You can create your own custom fields and apply Jira automation to populate those.

Alternatively if you are open to try a mktplace app, pls do take a look at 

Time in Status Reports 

With this app you generate resolution times for your Jira Issues. The app allows you to group your statuses and it calculates and sums up the total time the issue takes while moving through the workflow right from the initial status to the completed one. The screen below shows the cycle time report similar to one in your requirement.

Also the app has many reports to meet a variety of time in status use cases. 

More details here.

Disclaimer : I work for the vendor who built this app

TIS - Cycle Time report.PNG

0 votes
Valeriia_Havrylenko_SaaSJet
Atlassian Partner
September 27, 2024

Hi @Sampath 👋

Unfortunately, this can not be achieved with JQL, but you can grab this data from issue changelogs using Jira Rest APIs, or you can make your own custom fields and set up Jira automation to fill those in.

Also, if you consider installing third-party add-ons, try out Time In Status add-on.

1. You can get calculation of days taken for each ticket with Time in Status report. 

2024-05-30_12-01-21.png

2. Also the Assignee time report will notify you of how much time each Assignee spent on each task.

2024-05-30_12-03-43.png

4. For more in-dept analysing try out Pivot view table. We can evaluate how much the time in the In Progress status has changed depending on the number of tasks, and we can also “dive deeper” and see which tasks have spent a lot of time.

2024-05-30_12-09-02.png

You can also book a live demo - we'll show you the application inside out and answer all your questions.

Add-on developed by my team.

I hope you find this helpful 🚀

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2024

Hi @Sampath 

Jira Query Language (JQL) helps find / search for issues.  It cannot perform calculations for things like duration of time between date fields.  And it is not a SQL.  Please look here to learn more: https://support.atlassian.com/jira-software-cloud/docs/use-advanced-search-with-jira-query-language-jql/

For reporting on things such as resolution time Jira has some basic dashboarding and reports, but it has limited ability to group information for different time periods. 

https://support.atlassian.com/jira-software-cloud/docs/work-with-dashboards-in-jira-cloud/
https://support.atlassian.com/jira-software-cloud/docs/view-and-understand-the-control-chart/

For more advanced reporting needs, please investigate the Atlassian Marketplace to find additional reporting options: https://marketplace.atlassian.com/

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events