JQL to find all the issues which are closed within 3 days of creation of the ticket

Gajanan Sasane March 31, 2021

JQL to find all the issues which are closed within 3 days of creation of the ticket. Suppose, I created an issue on March 1st of march and resolved it after 3 days.

4 answers

1 vote
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2021

Hi,

 

Unfortunately you can't do this, you can't compare two fields in Jira? You will need an addon to achieve this.

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2021

I forget, but tou can export your data in Excel or google sheet (automatically) and create a custom rule in your spreadsheet.

https://community.atlassian.com/t5/Jira-articles/The-add-in-you-ve-been-waiting-for-Jira-Cloud-for-Excel/ba-p/1210420

0 votes
Emre Toptancı _OBSS_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 31, 2021

Hello @Gajanan Sasane ,

For a ready built solution that offers great flexibility and details, our team at OBSS built Time in Status. It is available for Jira Server, Cloud and Data Center.

Time in Status mainly allows you to see how much time each issue spent on each status or assigned to each assignee. The recently introduced Filtering feature allows you to filter issues based on status times.

You can combine statuses in any way into consolidated columns to see metrics like Resolution TimeTicket Age, Cycle Time or Lead Time. You can calculate averages and sums of those durations grouped by issue fields you select. (For example see the total InProgress time per Epic, or average resolution time per issuetype). 

Time in Status can display its reports and charts in its own reporting page, in dashboard gadgets and in a tab on issue view screens.

tisCloud_StatusDuration_LeadTime_with Estimates.png  Gadget_AverageStatusDurationByComponent.png

tisCloud_IssueView_Data.pngtisCloud_StatusDuration_LeadTime_Chart.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.

Using Time in Status you can:

  • See how much time each issue spent on each status, assignee, user group and also see dates of status transitions. Sort and Filter according to report values.
  • Calculate averages and sums of those durations grouped by issue fields you select. (For example see average InProgress time per project and per issuetype.)
  • Export your data as XLS, XLSX or CSV.
  • Access data via REST API. (for integrations)
  • Visualize data with various chart types.
  • See Time in Status reports on Jira Dashboard gadgets (released for cloud, server&DC gadget coming soon)

https://marketplace.atlassian.com/1211756

EmreT

0 votes
Bloompeak Support
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 31, 2021

Hi @Gajanan Sasane ,

Status Time app developed by our team at Bloompeak might help. It provides reports on how much time passed in each status. Inside the report, you can group statuses and get a report for time spent from start to closed. Then, you can export the report and filter durations less than 3 hours.

Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "In Progress" time of an issue opened on Friday at 5 PM and closed on Monday at 9 AM, will be a few hours rather than 3 days. It has various other reports like assignee time, status entry dates, average/sum reports(eg. average in progress time per project). And all these are available as gadgets on the dashboard too.

Here is the online demo link, you can see it in action and try.

If you are looking for a free solution, you can try the limited version Status Time Free. Hope it helps.

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2021

Hi @Gajanan Sasane ,

using built-in features you cannot compare two fields with each other.

In order to do that you should use a third part plugin like ScriptRunner.

Regards,

Fabio

Zoryana Bohutska _SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 31, 2021

Hi @Gajanan Sasane 

Also, as an option, you can try to set your query without JQL in Dynamic Filters: JQL Replacer add-on (developed by my team). It allows you to set requests by Smart Field Manager.

Select items you need:

imgpsh_fullsize_anim (13).png

Add created Smart Field to the Dynamic Filter:

imgpsh_fullsize_anim (14).png

Hope you find it helpful.
Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events