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

What is wrong with my Javascript ISOString date?

Dave Grammas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 29, 2023

I am using the Jira REST API to create an issue worklog. I receive an error response even though my date seemingly matches the format mentioned in the error.

Error received:
Screen Shot 2023-03-29 at 3.17.15 PM.png

Date string in payload:
Screen Shot 2023-03-29 at 3.18.20 PM.png

I read in similar posts that including offset fixed this so I've also sent the following payload, but received the same error. Here is the payload with the offset:
Screen Shot 2023-03-29 at 3.18.46 PM.png

Any help is greatly appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events