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"
}API Reference
Update Issue
Perform actions on an issue (add comment or change status)
POST
/
api
/
org
/
projects
/
{shortcode}
/
findings
/
{ref}
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"
}Authorizations
API key for authentication
Path Parameters
Project shortcode identifier
Issue/finding reference identifier
Body
application/json
Response
Action performed successfully
Example:
"OK"