endOfMonth details

Matt Russell June 25, 2013

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

2 votes
Answer accepted
Teck-En
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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.

Matt Russell June 26, 2013

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.

0 votes
Matt Russell June 26, 2013

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