TANSS icon

TANSS

Interact with the TANSS API

Actions208

Ticket State → Create Ticket State

AI-generated

Summary

Create a ticket state in the TANSS system

Inputs

  • apiToken (required) — API token obtained from the TANSS API login
  • name (required) — Name of the ticket state
  • image — Name of the image (must be in folder media/hp/bug_status)
  • waitState — Determines if this state is a waiting state
  • rank — Rank of this state (position in lists)
  • active — Is this an active state? (otherwise won't be shown)

Output shape

object

Returns the created ticket state object from the TANSS API; exact shape not documented in properties or source

Examples

Example 1: Create an active ticket state named 'Open' with rank 1

apiToken: , name: 'Open', rank: 1, active: true

Discussion