Skip to content

Create Ticket

Request

Creates a Ticket object in the token-linked Integration.

Operation ID: ticketing_create_ticket

Security
BearerAuth
Query
metaArray of strings

Add metadata to the response by invoking meta functions. Documentation for meta functions is available. Not all meta functions are available at every endpoint.

Bodyapplication/jsonrequired
namestringrequired

Human-readable name for this resource

summarystring or null

Ticket summary.

creatorstring or null

User who created this ticket.

assigneestring or null

Who ticket is assigned to.

contactstring or null

Ticket contact information.

descriptionstring or null

Ticket description.

prioritystring or null(Priority)

The priority of the Ticket

Enum:"URGENT""CRITICAL""HIGH""MEDIUM""MODERATE""LOW""PLANNING"
due_datestring or null, (date-time)

The ticket's due date.

completion_datestring or null, (date-time)

The ticket's complete date.

statusstring or null(Status)

The current status of the ticket.

projectstring or null

The ticket project.

issue_typestring or null

The ticket's type. Some providers require it; the provider's capabilities say when. Accepted values are provider-specific; List Issue Types returns them where the provider supports it.

parentstring or null

Provider specific ID of the parent ticket.

tagsArray of strings or null

Associate tags with Ticket

custom_fieldsobject or null

Set custom fields for this ticket, keys are the custom field names.

curl
curl -i -X POST \
  https://api.synqly.com/v1/ticketing/tickets \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string"
  }'

Responses

Bodyapplication/json
resultobject(Ticket)required

A ticket. name holds the ticket title, key or record number. The value of name is provider dependent. For more detail, see provider specific documentation in the capabilities API.

messagesobject or null(MessagesResponse)

Additional messages from the service response that may be helpful to the client.

metaobject or null(MetaResponse)

Various metadata about the results organized by group, then type, then field.

Response
{ "result": { "id": "string", "summary": "string", "creator": "string", "assignee": "string", "contact": "string", "description": "string", "priority": "URGENT", "due_date": "2019-08-24T14:15:22Z", "completion_date": "2019-08-24T14:15:22Z", "status": "string", "project": "string", "issue_type": "string", "parent": "string", "tags": [ … ], "attachments": [ … ], "custom_fields": {}, "unmapped": {}, "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "messages": { "problems": [ … ] }, "meta": { "stats": { … }, "api": { … }, "mapping": { … } } }