Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set due date to 01.05.2030 in a ticket

Mirko
Contributor
September 26, 2022

Hi all,

to get a reminder for a transaction I want to set a ticket due date to 1.Mai.2030.

If I do so, close the date an the reopen ist again it says 1.Mai.1930.

How to set a date to the future in 2030?

Thanks!

1 answer

0 votes
Trudy Claspill
Community Champion
September 26, 2022

Hello @Mirko 

In the Jira Cloud environment I had to change the date formatting for the instance to be a 4 digit year instead of a 2 digit year to get the system to accept the first 2 digits I entered rather than making an assumption that the year was 19xx vs. 20xx. I did that through Jira Settings > System > General > Advanced Settings. 

That might solve the problem for you on Jira Server.

Mirko
Contributor
September 26, 2022

Hi Trudy,

thank you for reaching out so quickly. Unfortunately there seems to be no setting like that in Jira Server. I found 'date and time formats' via the admin search, but that is just a link to

http://download.oracle.com/javase/6/docs/api/index.html?java/text/SimpleDateFormat.html

Which does not seem to work :(

Trudy Claspill
Community Champion
September 26, 2022

Hello @Mirko 

This document discusses the Advanced Settings that are available to be set.

https://confluence.atlassian.com/adminjiraserver/configuring-advanced-settings-938847828.html

It includes Jira Date and Jira Date/Time format setting variables.

It has a link to this document that goes into more detail about setting the formats.

https://confluence.atlassian.com/adminjiraserver/configuring-the-look-and-feel-of-your-jira-applications-938846975.html

What exactly did you change?

Mirko
Contributor
September 28, 2022

Thank you for the link.

I am trying to fumble in the right settings but that seems to be more like developer stuff than user settings.

If I change "jira.date.picker.java.format" to "dd.MMM.yyyy" in the ticket the date remains unchanged as "dd/MMM/yy", if I click on it it changes to "dd.MMM.yyyy".

there seems to be no "jira.date.ticket.format" setting.

Then the context says "jira.date.picker.javascript.format" needs to correspond to "jira.date.picker.java.format" which reads "%e/%b/%y". That does not match out of the box but works... I don't know what to change how...

 

What do I need to change to what to make alle dates read as 4 digits? There has to be a userfriendly step by step guide. Am I the first to need this changed? Can't imagine that.

Mirko
Contributor
September 28, 2022

I just followed the link

 

link.png

 

what am I looking at? I don't see the relevance.

Trudy Claspill
Community Champion
September 28, 2022

My apologies. I pasted the wrong link and did not notice.

Here is the correct link.

https://community.atlassian.com/t5/Jira-questions/2029-Date-Bug-Fix/qaq-p/630830

Mirko
Contributor
September 28, 2022

Awesome, I applied the "Settings/Advanced Settings" part, now if I click on a date the edit menu shows up displaying a 4 digit year, the datepicker also returns a valid 4 digit dateformat.


But the look and feel part does not work. Following the post it should look like this

lookfeel1.png

On my machine the same menu with the exact same URL only shows this:

menu.jpg
The Entries for Time Format and so on are missing.
The date seems to be stored as 4 digit, but does display as 2 digt.
I am runing Jira Server (v9.2.0#920000-sha1:ef10a0b)

Trudy Claspill
Community Champion
September 28, 2022

Considering that the post is from 2017, long before v9.2 was released, I would assume that there have been changes in the product that resulted in the changes to the screens.

This appears to be the current documentation for Look and Feel in Jira 9.2

https://confluence.atlassian.com/adminjiraserver/configuring-the-look-and-feel-of-your-jira-applications-938846975.html

Mirko
Contributor
September 28, 2022

That is probably the case, it may be hard to see in the screenshot above due to the white on white situation but the config site literally is empty!

config.jpg

Trudy Claspill
Community Champion
September 28, 2022

I'm afraid I don't have any additional insights to offer. I don't have access to a Jira Server instance to explore this directly.

I recommend that you open a case directly with Atlassian Support to find out why the settings are not available in your screen.

https://support.atlassian.com/contact/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events