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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,187 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot