For the complete documentation index, see llms.txt. This page is also available as Markdown.

setIssuesSla

Sets a custom SLA (in days) on the given issues, overriding the SLA from the organization SLA settings.

Examples

mutation SetIssuesSLA($input: SetIssuesSLAInput!) {
  setIssuesSLA(input: $input) {
    success
    modifiedCount
    matchedCount
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "input": {
    "issueIds": ["a1b2c3d4-issue-id"],
    "customSLA": 30,
    "actionSource": "Manual"
  }
}
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
 "query": "mutation SetIssuesSLA($input: SetIssuesSLAInput!) { setIssuesSLA(input: $input) { success modifiedCount matchedCount } }",
 "variables": {
    "input": {
      "issueIds": ["a1b2c3d4-issue-id"],
      "customSLA": 30,
      "actionSource": "Manual"
    }
  }
}'

Arguments

You can use the following argument(s) to customize your setIssuesSLA mutation.

Argument
Description
Supported fields

input SetIssuesSLAInput! required

Input containing the issue identifiers and the custom SLA in days.

issueIds [String!]! customSLA Int actionSource ActionSource

Fields

Return type: UpdateIssuesSLAResponse

You can use the following field(s) to specify what information your setIssuesSLA mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

success Boolean

Whether the update completed successfully.

modifiedCount Int

Number of issues whose SLA was changed.

matchedCount Int

Number of issues that matched the given identifiers.

Last updated