how to use between keyword in JQL

Vikram Jammula May 21, 2015

I am trying to retrieve the data between two dates. (date range)

I am using the below JQL and it is not getting the desired result. Please help me.

project = CCU AND issuetype in (Bug) AND "createdDate" <= '2015-01-01' AND "createdDate" >= '2015-01-31'

2 answers

3 votes
Rodrigo Rosa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2015

Hello Vikram,

For your query, you wish to retrieve all bugs from project CCU created in January, am I right? In that case, your query should be like:

project = CCU AND issuetype in (Bug) AND "createdDate" >= '2015-01-01' AND "createdDate" <= '2015-01-31

Vikram Jammula May 21, 2015

Bingo, thanks Rodrigo this worked. Thank you so much.

Rodrigo Rosa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2015

You're welcome!

0 votes
Jobin Kuruvilla [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.
May 21, 2015

What are you trying to search?

Suggest an answer

Log in or Sign up to answer