Date time format and advanced filter

I wish to change date formats to dd-MM-yyyy which is straight forward.

Can you advise how to make the expected format in the Issue Navigator advanced query match this, please. E.g. project = <project> AND created >= 23-05-2015

Yields error:-

Date value '23-05-2013' for field 'created' is invalid. Valid formats include: 'yyyy/MM/dd HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy/MM/dd', 'yyyy-MM-dd', or a period format e.g. '-5d', '4w 2d'.

 

I suspect that resource could be one of jira.date.time.picker.java.format or jira.date.time.picker.javascript.format ?

 

Thanks

 

 

3 answers

No, the problem is that created date also has a timestamp part,  so you need to add the timestamp part (HH:mm) to your date in the query

What I recommend is using date functions like startOf Day(), now() or others

see:https://confluence.atlassian.com/display/JIRA062/Advanced+Searching+Functions#AdvancedSearchingFunctions-function

 

It error message says that valid formats include 'yyyy-MM-dd' so I'd hope to switch a resource so that it would match dd-MM-yyyy as I'd like to set in the look and feel date formats.

Ah, now I understand. You need to change following:

jira.date.picker.java.format

jira.date.picker.javascript.format

jira.date.time.picker.java.format

jira.date.time.picker.javascript.format

So you always have the same format within JIRA

See: https://confluence.atlassian.com/display/JIRA/__date+and+time+formats

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

352 views 3 11
Read article

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