Summary
Cannot successfully call the REST API Update comment without the body even if the documentation says it is not required.
See Jira Cloud Issue Comment update REST API docs (https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-api-2-issue-issueIdOrKey-comment-id-put) that say:
body (string)
The comment. Required on create, optional for update.
Steps to Reproduce
- Update a comment with the following request body
{ "visibility": { "type": "role", "value": "Administrators" } }
Expected Results
Successful comment update
Actual Results
HTTP status 400
{
"errorMessages": [],
"errors": {
"comment": "Comment body can not be empty!"
}
}
Notes
REST API fails for both v2 and v3
- is related to
-
DEVHELP-1762 Loading...