Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events