Using month parameter in advanced search doesn't work?

Maybe I am missing something obvious: 

I have a custom field "Date for next review".

One issue is set for review June 9th next year.

This query gives me a result:

project = BACKLOG AND "Date for next review" > 30d AND "Date for next review" < 200d

This query does not:

project = BACKLOG AND "Date for next review" > 30d AND "Date for next review" < 10m

(I know 200d and 10m is different in number - just to make a clear cut case)

Any idea?

2 answers

1 accepted

Accepted Answer
1 vote

Ah, I know this one.  10m is 10 minutes, not months.

You can only do weeks, days, hours and minutes in the range searches.  I think the closest you can get is by using the endOfMonth() functions, or something like > 30d and < 90d

So your first query is basically: date between 30 days from now and 200 days from now

while the second one

date between 30 days from now and 10 minutes from Now–> that makes no sense

I guess you took m for months but it is minutes.

hmm, who converted my answer to a question?

I mean comment...

* arf... non-functioning brain...*

I only know it because I did exactly the same several times when I was learning JIRA... :-)

To conclude: I missed something obvious :)

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...

23,429 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