curl --request PATCH \
--url https://api.stackone.com/unified/ticketing/tickets/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'x-account-id: <x-account-id>' \
--data '{
"unified_custom_fields": {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
},
"title": "System outage in production environment",
"reporters": [
"user-001",
"user-002"
],
"assignees": [
"user-001",
"user-002"
],
"content": [
{
"plain": "This is some content",
"html": "<p>This is some content</p>"
}
],
"parent_id": "ticket-002",
"priority": {
"id": "001",
"value": "medium",
"source_value": "Normal"
},
"tags": [
"tag-001",
"tag-002"
],
"collection_ids": [
"collection-001",
"collection-002"
],
"status": {
"id": "001",
"type": {
"value": "to-do",
"source_value": "New"
},
"name": "Backlog"
}
}'