Unable to PUT comment to Jira with Javascript using REST API
问题 I'm trying to update a jira with a new comment through JavaScript. I can do this all day long with cURL but using javascript is proving more challenging. I was able to call the Jira API for a GET request for a key so I know my headers/authentication is working. Problem is my data. I don't see what I'm doing wrong to format the JSON string with the comment. Here's what I have so far: $.ajax({ type: "PUT", url: "https://jira.domain.com/rest/api/2/issue/TEST-113", dataType: "json", headers: {