POST
/
api
/
v1
/
issues
/
{issueId}
curl --request POST \
  --url https://app.tegon.ai/api/v1/issues/{issueId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "priority": 123,
  "dueDate": "<string>",
  "sortOrder": 123,
  "subIssueSortOrder": 123,
  "estimate": 123,
  "labelIds": [
    "<string>"
  ],
  "assigneeId": "<string>",
  "stateId": "<string>",
  "parentId": "<string>",
  "isBidirectional": true,
  "subscriberIds": [
    "<string>"
  ],
  "issueRelation": {
    "type": "<string>",
    "issueId": "<string>",
    "relatedIssueId": "<string>"
  },
  "attachments": [
    "<string>"
  ],
  "userId": "<string>",
  "linkIssueData": {
    "url": "<string>",
    "sourceId": "<string>",
    "sourceData": {}
  },
  "sourceMetadata": {}
}'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deleted": "2023-11-07T05:31:56Z",
  "title": "<string>",
  "number": 123,
  "description": "<string>",
  "priority": 123,
  "dueDate": "2023-11-07T05:31:56Z",
  "sortOrder": 123,
  "subIssueSortOrder": 123,
  "estimate": 123,
  "sourceMetadata": {},
  "isBidirectional": true,
  "teamId": "<string>",
  "createdById": "<string>",
  "updatedById": "<string>",
  "subscriberIds": [
    "<string>"
  ],
  "assigneeId": "<string>",
  "labelIds": [
    "<string>"
  ],
  "stateId": "<string>",
  "parentId": "<string>",
  "attachments": [
    "<string>"
  ],
  "issueSuggestionId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

issueId
string
required

Query Parameters

teamId
string
required

Body

application/json
title
string
description
string
priority
number
dueDate
string
sortOrder
number
subIssueSortOrder
number
estimate
number
labelIds
string[]
assigneeId
string
stateId
string
parentId
string
isBidirectional
boolean
subscriberIds
string[]
issueRelation
object
attachments
string[]
userId
string
sourceMetadata
object

Response

200
application/json
Successful response
id
string
createdAt
string
updatedAt
string
deleted
string | null
title
string
number
integer
description
string | null
priority
integer | null
dueDate
string | null
sortOrder
integer | null
subIssueSortOrder
integer | null
estimate
integer | null
sourceMetadata
object | null
isBidirectional
boolean | null
teamId
string
createdById
string | null
updatedById
string
subscriberIds
string[]
assigneeId
string | null
labelIds
string[]
stateId
string
parentId
string | null
attachments
string[]
issueSuggestionId
string | null