Need a JQL query for both Date and Time range

Venkatesh T Gowda October 20, 2021

Hi Team,

I would like to have a JQL query to filter the jira tickets based on Shift basis per quarter.

 

Example:

Need to query the 6am to 15PM jira tickets for each quarter

 

Please help.

 

 

 

 

2 answers

1 accepted

1 vote
Answer accepted
Suvarna Gaikwad
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.
October 20, 2021

Hi @Venkatesh T Gowda This is very interesting requirement. We can filter issues based on date range as below. This example will give you issues created in last quarter from 1st oct to 31st dec.

created >= "2021/10/01" AND created =< "2021/12/31"

However adding time range for the same field 'created' won't help as it will not produce right result and will only consider superset i.e. date range specified.

To filter out issues based on time range, I would suggest to use dropdown custom field say 'Shift' and use it with above query to get required results.

Hope this helps.

Venkatesh T Gowda October 21, 2021

Hi @Suvarna Gaikwad , thanks for your update. Sure will try as you suggested.

Basically we need to prepare a report every Month and quarter to get the JIRA tickets created based on the shift we work.

I have tried all the way to get this data but failed.

 

Is there any way we can come up with this feature? 

 

Thank you,

Venky

Suggest an answer

Log in or Sign up to answer