cURL
addComment
curl --request POST \ --url https://{host}/api/org/projects/{shortcode}/findings/{ref} \ --header 'Content-Type: application/json' \ --header 'X-API-Token: <api-key>' \ --data ' { "action": "comment", "comment": "This is a test comment" } '
{ "msg": "OK" }
Perform actions on an issue (add comment or change status)
API key for authentication
Project shortcode identifier
Issue/finding reference identifier
Action type for adding a comment
comment
The comment text to add
Action performed successfully
"OK"