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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,941
Community Members
 
Community Events
184
Community Groups

Inserting a date above 80 years

Hi. 

 

I have a custom field (date type) in Jira service desk which is set to accept date of birth. The insertion will be done via API ( https://<OUR URL>/rest/servicedeskpi/request). When I am trying to insert dates which are more than 80 year (i.e. 1942 and below), the date is posted in the Jira form but it is increment with 100 (i.e. 1939-10-23 --> October 23, 2039). Dates starting 1943 and beyond inserts correctly. 

 

How is this possible and perhaps, possible workarounds? 

 

Thank you

1 answer

1 accepted

1 vote
Answer accepted
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 28, 2023

So I just tested this with a custom date field on an issue create screen.

I could select a date before 1942 just fine (for example 1/1/1921), but as soon as I refreshed the page it changed to 1/1/2021.

So this has nothing to do with the API or even the date picker but everything with a limitation to how Jira stores dates it seems.

This is a known issue as mentioned here: https://community.atlassian.com/t5/Jira-questions/2029-Date-Bug-Fix/qaq-p/630830

The solution from that post is to update your Jira date format settings (you can find these under advanced settings in your Jira admin settings) to use yyyy for years instead of yy.

Cheers,
Peter

Like Peter Van de Voorde likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events