Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
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
AUG Leaders

Atlassian Community Events