Time more then X days without weekends and public holidays

Karyna Grygorova March 14, 2024

Hello everyone,

 

I would like to know which filter is better to use to see all tickets under the project that were assigned more than 3 days without counting the weekends and also public holidays 

I created this filter but I am missing only holidays there 

project = X AND status not in (DONE, Resolved, "Won't Do", "Not Required", Epic, Epics, Closed) AND ((updated < -3d AND updated > startofWeek(-1d)) OR (updated < -5d and updated < startofweek(-1d))) ORDER BY updated DESC, reporter ASC

 

Thank you!

5 answers

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 18, 2024

Hi @Karyna Grygorova

If you prefer using a marketplace app, you can try Status Time Reports app developed by our team.

It mainly provides reports and gadgets based on how much time passed in each status and status durations are calculated according to the working calendar you define. 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.

Here is the online demo link, you can see it in action and try without installing the app. For further details, you can have a look at Status Time Reports How to Videos.

  • This app has a dynamic status grouping feature so that you can generate various valuable reports as time in status, time in assignee, status entry dates and status counts, cycle time and lead time, resolution time, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month).
  • You can search issues by Project, Issue Type, Status, Assignee, Issue Creation/Resolution Date(and any other Date field) and JQL Query.
  • You can set different duration formats.
  • You can export reports in CSV file format and open them in MS Excel.
  • You can also add this app as a gadget to your Jira dashboards and reach “Status Time” from Issue Detail page.
  • You can enable/disable access to Status Time reports&gadgets and Issue Detail page per project, users, groups or project role.

If you are looking for a completely free solution, you can try the limited version Status Time Reports Free.

Hope it helps.

0 votes
Iryna Komarnitska_SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 15, 2024

Hi @Karyna Grygorova ,

You can get such a report using the Time in Status for Jira app developed by my team.


The algorithm is quite simple.


First, you must set up your work calendar - add days off, breaks, holidays, etc.

11111111111.png
In the generated report, select the required project. To generate a report, select the Created by a specific date range filter—select a date three days before the current one. You can also specify the time period you need.

2024-03-15_17-26-44.png

In the report, select the Business Days data format. This will prevent the calculation from considering non-business hours.

2024-03-15_17-28-14.png

Here's a 30-day free trial. Remember that you can always contact us at Support to get answers to all your questions.

I hope this is useful for you!

 

0 votes
Gizem Gökçe _OBSS_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 15, 2024

Hello @Karyna Grygorova ,

Unfortunately, there is no way you can do this with standard JQL. In order to get the results that you desired you have to use a marketplace app. I believe Time in Status 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. 

Time in Status 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. Report Types Status Duration Report.png

The application also offers custom calendar support. Calendars can be configured based on your working hours, excluding holidays and non-working hours (even lunch breaks) from the calculation. Time in Status reports can be generated based on your custom calendars. In your case, you can set up two different calendars for each of your shifts. By selecting the appropriate calendar, you can retrieve all the reports you need from the application and easily analyze performance between shifts.

Cstom Calendar.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.

Time in Status reports can be accessed through its own reporting page, dashboard gadgets, and issue view screen tabs. All these options can provide both calculated data tables and charts. And the app has a REST API so you can get the reports from Jira UI or via REST. Also you can export the reports in to various formats easily. 

Visit Time in Status to explore how our JIRA add-on can revolutionize your metrics measurement process. Enjoy a 30-day free trial to experience the full range of features.

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

0 votes
Amay Purohit_RVS
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.
March 14, 2024

Hi @Karyna Grygorova 

This does  not look possible with plain JQL. If you are open to try out a mktplace app to get this data, you can take a look at 

 

Time in Status Reports 

The app allows to create your working calendar and you can filter issues which have been sitting in a particular status for more than n number of days. 

The app has 20+ reports to track your bottleneck Issues & Processes.

Disclaimer : I work for the vendor who built this app

TIs - Status Suration.PNG

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.
March 14, 2024

Hi @Karyna Grygorova 

That is not possible with the out-of-the-box features of JQL.

Although it may be possible to adjust the JQL to exclude weekends, there is no way to manage any included holidays within the range.  There may be marketplace addons which add features to JQL that handle your scenario.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events