Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JQL date range is breaking when I add more filters


I am working on creating a code to run a report based off summary and a date range. When I have the part with the date range only, it works fine and the section with the summary also works by itself. However, when I add the entire string however, it seems to cancel out the date range part of the code. This is the string I am using. I don't understand why adding more removed the date function, when I can stack other filters just fine.

createdDate >= 2021-11-25 AND createdDate <= 2022-10-01 AND summary ~ "disable employee" OR summary ~ "New Employee" OR summary ~ "Transfer Employee" AND project = ISR AND status in (Closed, Done, Resolved)


I am hoping there is just a part I am missing in this.

2 answers

1 accepted

2 votes
Answer accepted

Hi @Chelsea Keath ,

I think what you wanted to do is to separate ORs in the brackets, like this:

createdDate >= 2021-11-25 AND createdDate <= 2022-10-01 AND (summary ~ "disable employee" OR summary ~ "New Employee" OR summary ~ "Transfer Employee") AND project = ISR AND status in (Closed, Done, Resolved)

If you do not use them, you search for these issues:

  • issues created between 2021-11-25 and 2022-10-01 with summary "disable employee" 
  • issues with summary "New Employee"
  • issues with summary "Transfer Employee" from project ISR with status in (Closed, Done, Resolved)

So the date is used only in the first case.

The way I suggested you search for issues how you probably need to.

Thank you, Adam.

This worked to fix the issue. Have a great day!

0 votes

@Chelsea Keath could you please post your code here ? 

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events