Closed LaurenceTews closed 1 year ago
Currently requests built using the AddComment() and UpdateComment() functions will fail (HTTP 400) due to a schema mismatch. V2 of the Jira REST Api does not accept Author or UpdateAuthor properties.
https://github.com/andygrunwald/go-jira/issues/604
Fixes #
https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-post https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-id-put
What type of PR is this?
What this PR does / why we need it:
Currently requests built using the AddComment() and UpdateComment() functions will fail (HTTP 400) due to a schema mismatch. V2 of the Jira REST Api does not accept Author or UpdateAuthor properties.
Which issue(s) this PR fixes:
https://github.com/andygrunwald/go-jira/issues/604
Fixes #
Special notes for your reviewer:
Additional documentation e.g., usage docs, etc.:
https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-post https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-id-put