Forums

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

JQL Query for Issues by Due Date

Gareth Chong
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2019

Hi there,

I would like to search for issues due within the current month. ie. Aug 1st to Aug 31st. 

Could I please ask for help on how to write it in JQL?

Thanks,

Gareth

2 answers

4 votes
Nic Brough -Adaptavist-
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 5, 2019

Start with

dueDate >= startOfMonth() and dueDate <= endOfMonth()

You can add relative, absolutes and offsets into the () as well - startOfMonth(+12d) will give you the 12 day of the month to compare to, or endOfMonth(-1) means "end of last month"

Full docs at https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-functions-reference-764478342.html#Advancedsearching-functionsreference-startOfMonthstartOfMonth()

0 votes
Leo
Community Champion
September 5, 2019

Hi @Gareth Chong,

 

You'll have to use Due twice JQL query, but if you go with Basic option and choose  Due field it'll provide you 5 different options to choose parameter value, like more than, due in next, between and in range.....

but if you want to go with advanced jql query below query may fulfill your requirement

project = "Project Name" AND due >= 2019-8-1 AND due <= 2019-8-31

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events