Skip to main content
PUT
/
api
/
v2
/
workspaces
/
{workspaceId}
/
tickets
/
priority
Update ticket priority
curl --request PUT \
  --url https://api.example.com/api/v2/workspaces/{workspaceId}/tickets/priority \
  --header 'Content-Type: application/json' \
  --data '
{
  "autotaskRequeest": {
    "id": 123,
    "priority": "High"
  },
  "serviceNowRequest": {
    "id": "<string>",
    "urgency": "High"
  },
  "jiraRequest": {
    "id": "<string>",
    "priorityId": "<string>",
    "priorityName": "<string>"
  },
  "resourceId": "<string>",
  "resourceType": "None",
  "resourceName": "<string>"
}
'
{
  "data": true,
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.contraforce.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

workspaceId
string<uuid>
required

Body

application/json

This DTO is a wrapper for priority (urgency for Snow) update calls.

autotaskRequeest
object
serviceNowRequest
object
jiraRequest
object
resourceId
null | string

Gets or sets the unique identifier of the associated resource. Used to identify the target resource like Incident IDs.

resourceType
enum<string>

Gets or sets the type of the resource represented by this instance.

Available options:
None,
Incident
resourceName
null | string

An optional human-readable name of the resource.

Response

OK

Standard v2 API response envelope for single-item responses.

data
boolean
meta
object