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

Response

200
application/json

Successful response

The response is of type object.