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
4,360,172
Community Members
 
Community Events
168
Community Groups

using issueFieldExactMatch to filter specific months

how/can i use 

issueFunction in issueFieldExactMatch to filter issues created in a specific month or months without filtering the day or the year ?

2 answers

Hi @shay zinamon 

You can use the following functions:

  • now()
  • startOfDay()
  • startOfWeek()
  • startOfMonth()
  • startOfYear()
  • endOfDay()
  • endOfWeek()
  • endOfMonth()
  • endOfYear()

 Also, here are some examples: 

updated <= "-4w 2d" (Use "w", "d", "h" and "m" to specify weeks, days, hours, or minutes.)

status WAS "Resolved" BEFORE "2019/02/02" (or DURING ("2010/01/01","2011/01/01"))

due < endOfMonth("+1")  optional increment of (+/-)nn(y|M|w|d|h|m)

Still it not exactly what your looking for but I think it will get you closer.

i dont see how this will get me closer, the replay above will give me what i need but will require multiple updates for each year. 

thank you for your time and effort 

0 votes

How far historically do you need to go?

 

Because instead of playing with regular expressions you might be fine with just

(created > 2020-01-01 and created < 2020-01-31) or (created > 2019-01-01 and created < 2019-01-31)

Assuming we're not going back more than 10 years or hitting a jql character limit.

this will work but will require a manual update of the filters every year, i am looking for a general solution that is elegant and general 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

186 views 1 6
Read article

Atlassian Community Events