Add a new to ticket to ticket management provider

Sync ticket id with data from ticket management provider

🔒 Requires Ticket Management: Create Ticket permission

Securitybearer
Request
Request Body schema: application/json
required
connectionId
required
number

Connection ID

projectId
required
string

Project ID

issueTypeId
required
string

IssueType ID

required
Array of objects (TicketsCreateFieldRequestPublicDto) non-empty

The value keys used to fill out the expected ticket management provider schema

monitorInstanceId
required
number

Monitor Instance id this task is associated to

controlId
required
number

Control Id this task is associated to

getParsedRequestDto
required
object
Responses
200

Created

201
401

Invalid Authorization

402

You must upgrade your plan to use this feature

403

You are not allowed to perform this action

412

You must accept the Drata terms and conditions to use the API

500

Internal server error

503

Third party system was unavailable

post/tickets
Request samples
application/json
{
  • "connectionId": 1,
  • "projectId": 10000,
  • "issueTypeId": 10001,
  • "fields": [
    • {
      • "field": "summary",
      • "type": "string",
      • "value": "My Ticket"
      }
    ],
  • "monitorInstanceId": 1,
  • "controlId": 1,
  • "getParsedRequestDto": { }
}
Response samples
application/json