Query for date

Ratheesh.R
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!
February 6, 2021

How to get all issues for a date field which is above the end of current week?

1 answer

1 accepted

0 votes
Answer accepted
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2021

Hi @Ratheesh.R

JQL goes like this, (In this I have checked for a due date field, you may replace the field with the date field you have customized)

project = projectKey AND due >= endOfWeek()


Thanks,
Pramodh

Ratheesh.R
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!
February 8, 2021

Thank you so much Pramod. it works. would you happen to know how i can put a time period for the dates as well?

 

example - to find out if  list of issues for a date field which starts from end of current weeks and falls in 4 upcoming weeks and 8 up coming weeks?

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2021

Hi @Ratheesh.R  Glad!

We would have to specify that with the number 

For example, for issues due by end of 4 weeks, the JQL is

project = projectKey AND due >= endOfWeek(+4)

 And for 8 weeks, JQL is

project = projectKey AND due >= endOfWeek("+8")

 Thanks,
Pramodh

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2021

FYI,

We have to submit the number in quotes.

project = projectKey AND due >= endOfWeek("+4") 

Suggest an answer

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

Atlassian Community Events