Examples

POST '/api/v2/tickets' -d {
   "ticket": {
     "title": "second ticket",
     "tags": ["tag1","tag2"],
     "small_summary": "text",
     "content": "text",
     "status": "In Progress"
   },
   "restricted_accounts": ["account_name_1", "account_name_2"]
 } 

Params

Param name Description
title
required

The title of the ticket

Validations:

  • Must be a String

tags
required

The tags for the ticket

Validations:

  • Must be an array of any type

small_summary
required

The summary of the ticket

Validations:

  • Must be a String

content
required

The content of the ticket

Validations:

  • Must be a String

status
optional

The status of the ticket: should be opened or pending

Validations:

  • Must be a String

restricted_accounts
optional

The names of the accounts when the ticket has restricted accounts

Validations:

  • Must be an array of any type