Add a new to ticket to ticket management provider

Sync ticket id with data from ticket management provider

Securitybearer
Request
Request Body schema: application/json
required
projectId
required
string

Project id

issueTypeId
required
string

IssueType Id

required
Array of objects (TicketsCreateFieldRequestPublicDto)

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

Record created!

201
401

Invalid Authorization

403

You are not allowed to perform this action

500

Internal server error

503

Third party system was unavailable

default

Response Code: 412

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

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