Skip to content

Update Tickets

Endpoint

http
PATCH /unified/ticketing/tickets/{id}
Integrations supported
  • Asana
  • Enchant
  • Jira
  • Trello

Path parameters

id
string
REQUIRED · 

The ID of the resource.

Example: 23423523

Query parameters

Refer Specifying query parameters in Truto APIs

integrated_account_id
string · uuid
REQUIRED · 

The ID of the integrated account to use for the request.

Example: 62f44730-dd91-461e-bd6a-aedd9e0ad79d
truto_response_format
string

The format of the response.

  • unified will return the response with unified mappings applied.
  • raw will return the raw response from the remote API.
  • normalized will apply the unified mappings and return the data in a normalized format.

Defaults to unified.

All possible enum values:
  • unified
  • raw
  • normalized
Example: unified
truto_ignore_remote_data
boolean

Excludes the remote_data attribute from the response.

truto_exclude_fields
array

Array of fields to exclude from the response.

Example: truto_exclude_fields[]=id&truto_exclude_fields[]=name
remote_query
object

Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.

Example: remote_query[foo]=bar

Request Body

Refer Writing data using Unified APIs

name
string

The name of the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
ticket_type
object

Type of the ticket

All possible enum values:
  • default_task
  • milestone
  • section
  • approval
Enum support by integration
  • Asana
    • default_task
    • milestone
    • section
    • approval
Supported in
  • Asana
  • Jira
id
string

The unique identifier for a ticket type

name
string

The name of the ticket type

collections
object[]

Collections associated with the ticket

Supported in
  • Jira
  • Trello
id
string

The unique identifier for a collection

name
string

The name of the collection

assignees
object[]

Users assigned to the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
id
string

The unique identifier for a user

name
string

The name of the user

first_name
string

The first name of the user

last_name
string

The last name of the user

emails
object[]

The user's email addresses

email
string
REQUIRED · 

The user's email address

type
string

The type of email address

due_date
string · date-time

Due date of the ticket

Supported in
  • Asana
  • Jira
  • Trello
tags
object[]

Tags associated with the ticket

Supported in
  • Enchant
  • Jira
  • Trello
id
string

The unique identifier for a tag

name
string

The name of the tag

parent
Supported in
  • Jira
description
string

Description of the ticket

Supported in
  • Asana
  • Jira
  • Trello
priority
object

Priority of the ticket

Supported in
  • Jira
id
string

The unique identifier for a priority

name
string

The name of the priority

custom_fields
object

Custom fields to set on the ticket

Supported in
  • Jira
status
object

The status of the ticket

All possible enum values:
  • pending
  • completed
  • approved
  • rejected
  • changes_requested
  • open
  • closed
  • pending
  • spam
  • trash
Enum support by integration
  • Asana
    • pending
    • completed
    • approved
    • rejected
    • changes_requested
  • Enchant
    • open
    • closed
    • pending
    • spam
    • trash
Supported in
  • Asana
  • Enchant
  • Trello
id
string

The unique identifier for a status

name
string

The name of the status

All possible enum values:
  • active
  • closed
  • open
  • pending
  • spam
  • resolved
  • archived
  • deleted
  • completed
workspace
string

The unique identifier for the workspace. Required if collections is not provided.

Supported in
  • Asana
  • Enchant
  • Trello
id
string

The unique identifier for a workspace

name
string

The name of the workspace

html_description
string · html

The HTML description of the task

Supported in
  • Asana
parent_ticket
object

Parent ticket associated with the ticket

Supported in
  • Asana
id
string

The unique identifier for a ticket

name
string

The name of the ticket

remote_data
object

Any additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.

Response Body

id
string
REQUIRED · 

The unique identifier for a ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
name
string

The name of the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
number
string

An optional ticket number maintained by the system.

Supported in
  • Enchant
assignees
object[]

Users assigned to the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
id
string

The unique identifier for a user

name
string

The name of the user

first_name
string

The first name of the user

last_name
string

The last name of the user

emails
object[]

The user's email addresses

email
string
REQUIRED · 

The user's email address

type
string

The type of email address

status
object

The status of the ticket

Supported in
  • Enchant
  • Jira
  • Trello
id
string

The unique identifier for a status

name
string

The name of the status

All possible enum values:
  • active
  • closed
  • open
  • pending
  • spam
  • resolved
  • archived
  • deleted
  • completed
created_by
object

User or contact who created the ticket

Supported in
  • Jira
id
string

The unique identifier for a user

name
string

The name of the user

type
string

The type of the user

All possible enum values:
  • user
  • contact
due_date
string · date-time

Due date of the ticket

Supported in
  • Asana
  • Jira
  • Trello
description
string

Description of the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
workspace
object

Workspace associated with the ticket

Supported in
  • Enchant
  • Trello
id
string

The unique identifier for a workspace

name
string

The name of the workspace

team
object

Team associated with the ticket

Supported in
  • Enchant
id
string

The unique identifier for a team

name
string

The name of the team

collections
object[]

Collections associated with the ticket

Supported in
  • Asana
  • Jira
  • Trello
id
string

The unique identifier for a collection

name
string

The name of the collection

ticket_type
object

Type of the ticket

Supported in
  • Asana
  • Enchant
  • Jira
id
string

The unique identifier for a ticket type

name
string

The name of the ticket type

contact
object

Contact associated with the ticket

Supported in
  • Enchant
id
string

The unique identifier for a contact

first_name
string

The first name of the contact

last_name
string

The last name of the contact

name
string

The name of the contact

emails
object[]

The emails of the contact

email
string
REQUIRED · 

The email of the contact

type
string

The type of the email

account
object

Account associated with the ticket

id
string

The unique identifier for a contact

parent_ticket
object

Parent ticket associated with the ticket

Supported in
  • Asana
  • Jira
id
string

The unique identifier for a ticket

name
string

The name of the ticket

attachments
object[]

Attachments associated with the ticket

Supported in
  • Asana
  • Jira
id
string

The unique identifier for an attachment

file_name
string

The name of the attachment

file_url
string

The url of the attachment

tags
object[]

Tags associated with the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
id
string

The unique identifier for a tag

name
string

The name of the tag

created_at
string · date-time

Time at which the ticket was created

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
updated_at
string · date-time

Time at which the ticket was last updated

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
completed_at
string · date-time

Time at which the ticket was completed

Supported in
  • Asana
  • Jira
ticket_url
string

URL of the ticket

Supported in
  • Asana
  • Enchant
  • Jira
  • Trello
priority
object

Priority of the ticket

Supported in
  • Jira
  • Trello
id
string

The unique identifier for a priority

name
string

The name of the priority

languages
string[]

Languages of the ticket

is_unread
boolean

Whether the ticket is unread

source
object
Supported in
  • Enchant
id
string

The unique identifier for a source

name
string

The name of the source

remote_data
object

Raw data returned from the remote API call.