addIssueComment
Adds a new comment to an issue. Supports multiple comments per issue with author attribution.
Examples
mutation AddIssueComment($input: AddCommentInput!) {
addIssueComment(input: $input)
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"input": {
"issueId": "30966426-oxPolicy_securityCloudScan_100-example",
"text": "example",
"authorName": "example",
"authorEmail": "example"
}
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation AddIssueComment($input: AddCommentInput!) { addIssueComment(input: $input) }",
"variables": {
"input": {
"issueId": "30966426-oxPolicy_securityCloudScan_100-example",
"text": "example",
"authorName": "example",
"authorEmail": "example"
}
}
}'Arguments
You can use the following argument(s) to customize your addIssueComment mutation.
Argument
Description
Supported fields
input AddCommentInput! required
Input containing the issue identifier and comment text
issueId String!
text String!
authorName String
authorEmail String
Fields
Return type: Boolean
Last updated
