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

Need JQL query for dates that start the previous month and going forward

I currently have a JQL query that pulls data for a due date of today and into the future.

     due >= now() 

However, I have been asked to show dates going back to the start of the previous month. For example, if today is June 23, I need to return all values going back to May 1st (i.e. the start of the previous month).

Much appreciated!

1 answer

1 accepted

2 votes
Answer accepted

OK, just figured it out myself:

     due >= startOfMonth("-1")

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

743 views 5 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you