The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

how to use between keyword in JQL

Vikram Jammula
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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
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!
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 Champions.
May 21, 2015

What are you trying to search?

TAGS
AUG Leaders

Atlassian Community Events