Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Date field showing only year

Gianni Minicozzi
Contributor
August 26, 2019 edited

Hi all,

We are going to install Jira Server and we would like to know if it is possible to add a date custom field in issues that only show the year and not the entire date (gg/mm/yy).

Is it possible?

Thank you

2 answers

2 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 26, 2019

Consider using a single select and preconfigure with say 10 years. That should last for...well 10 years

Gianni Minicozzi
Contributor
August 27, 2019 edited

Thank you Jack,

I thought about this possibility, but I would like to set the current year as default value and in this way, I have to change the default value every year.

Nothing of incredible, but I want to make the issue opening process as fast and easy as possible for the users

0 votes
Answer accepted
Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2019

what do advanced settings (baseurl/secure/admin/AdvancedApplicationProperties.jspa) options jira.date.picker.java.format and jira.date.picker.javascript.format say?

Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2019

oh, guess I shouldn't try answering questions in the monday evening

if you want it to act like more vague field than what @Jack Brickey offered, you can create it as a text/number field and add some kind of regex validation on it (with a plugin)

so yeah, there's no "Year" type custom field, but it is possible to imitate it

Like • Michael Furtmeier likes this
Gianni Minicozzi
Contributor
August 27, 2019

Thank you Ilya,

I will check and I will give you feedback.

Suggest an answer

Log in or Sign up to answer