Date field accepting five digit year


We are using Jira Version: 4.4.5. In our jira MM/dd/yyyy %m/%d/%Y

But when we are editing or creating an issue. In the date fields jira is accepting five digit year format for eg: 03/06/20113. Because of that we are getting problem.

1 answer

0 vote

Um, well, that's actually still a valid year. I don't think there's a simple fix for this - the checking code would need to be amended.

You mean AJS code for that custom field.

Indeed, although it's the code for the field type, not the individual field.

So, where we need to add the validation. Can you elaborate.

Because while moving issues from one issue type to another issues type or convert as a subtask we are getting error.

I stay away from fiddling with javascript, and I'm not really sure where the js validators for date fields might be found. You will be into

However, I would start with a look at debugging the moving of issue type - that doesn't involve javascript at all so you may have another problem which "fixing" the date check isn't going to help with.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

197 views 2 11
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