endOfMonth details

I'm wanting to create a "floating date" style query with endOfMonth.

Does endOfMonth mean "the next 30 days" or does it mean "calendar month"

Also, does endOfMonth(1) mean THIS month, and endOfMonth(2) mean NEXT month? and so on...

Can't seem to find any documentation...

2 answers

1 accepted

Accepted Answer
1 vote
Yew Teck En Atlassian Team Jun 25, 2013

Here's the documentation on endOfMonth: https://confluence.atlassian.com/display/AOD/Advanced+Searching+Functions#AdvancedSearchingFunctions-endOfMonth%28%29

If you specified endOfMonth("1"), it will take it as end of the next month. endOfMonth("2") means the end of the next 2 months.

Ah - perfect. I saw that all the functions had links in the confluence docs, but when I clicked on them they didn't seem to work! I knew all this detail must exist somewhere... Thanks for the find.

Ah - perfect. I saw that all the functions had links in the confluence docs, but when I clicked on them they didn't seem to work! I knew all this detail must exist somewhere... Thanks for the find.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,533 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you