What is wrong with my Javascript ISOString date?

Dave Grammas 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events