how to create custom date field in the format of MM-YY?

Hi Guys,


I have a business requirement to be able to input a date field in the format of MMM-YY only.


Aug 16 or Nov 15


Can anyone advise on how to do that?


3 answers

1 accepted

0 votes
Accepted answer

Ok, there's a few more options here...

Script runner won't do it, unless what you want to do is put a normal date field on edit screens and then write a scripted field that displays the MMM-YY format you want on view (and search)

Another option, if you don't have too huge a range of dates to worry about might be a cascading select field with yyyy for the first option and then the months in the second option

Possibly the easiest option - have two fields, one with a list of years, and a second with the 12 months in it.  No coding or fuss required, but they will be independent of each other (again though, a similar trick to the first one - write a scripted field that combines them for display and search)

You can use

  1.  A scripted field (ScriptRunner or JJUpin) 
  2. Change the date format globally
  3. Use add-on like JIRA Misc Custom fields It supports custom date format
  4. Other solution - search for another solution in Google smile


On 4 - google is most likely to give you "write your own add-on to do it..."

@Boris Georgiev [Botron],

first of all thanks for your help.

  1. we do own scriptrunner - but unfortunately I am no scripting expert, still having difficulties working with it, I will really appreciate if you can help me find a more specific answer to using scriptrunner as a solution.
  2. we are not interested in changing the date format globally..
  3. the add-on supports calculated date fields, which are uneditable, this is not a proper solution for us.
  4. as @Nic Brough [Adaptavist] said smile


Thanks guys!


Somehow I missed the fact that you want to actually edit the field and not just display it...

@Nic Brough [Adaptavist]


I'll use the second option you offered.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,531 views 15 21
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