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 for date range


I want to create a Jira JQL search for a range of dates but only by month. Instead of the date input of "YYYY/MM/DD" or "YYYY-MM-DD" but instead just MM/DD or MM-DD. Is this possible and does anyone know how to do this?


thanks in advance.

1 answer

1 accepted

4 votes
Answer accepted

Hi @Katrina Atkinson 

You can use the startOfMonth() function to do that. E.g.

created >= startofMonth() and created <= endOfMonth()

Will give you all issue of the current month. Placing a negative number inside the paranthesis will yield results from the previous months. E.g.

created >= startofMonth(-1) and created <= endOfMonth(-1)

Will give you all created issues from the previous month.

Awesome thank you, do you know, if I wanted to do the months between January 01-march 31st how to input this?

I would assume:

created >= startofMonth(-11) and created <= endOfMonth(-9)
Like shruti gupta likes this

This provides a lot of clarity, thank you!

Happy to be of assistance ;)

Kindly mark my answer as accepted, in order to help others with similar questions. Thank you!

Like Dave Mathijs likes this

Suggest an answer

Log in or Sign up to answer