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

This widget could not be displayed.

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

 

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday 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...

259 views 1 3
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