Issue API
Create issue
API reference
- Overview & Authentication
- Issue API
- Action API
- AI Requests
- Issue Comments
- Issue Relation
- Labels
- Linked Issue
- Users
- Views
- Teams
Issue API
Create issue
POST
/
api
/
v1
/
issues
curl --request POST \
--url https://app.tegon.ai/api/v1/issues \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"priority": 123,
"dueDate": "<string>",
"sortOrder": 123,
"estimate": 123,
"subIssueSortOrder": 123,
"labelIds": [
"<string>"
],
"assigneeId": "<string>",
"stateId": "<string>",
"parentId": "<string>",
"subscriberIds": [
"<string>"
],
"teamId": "<string>",
"linkIssue": {
"url": "<string>",
"title": "<string>"
},
"issueRelation": {
"type": "<string>",
"issueId": "<string>",
"relatedIssueId": "<string>"
},
"attachments": [
"<string>"
],
"subIssues": [
{}
],
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful response
Was this page helpful?
curl --request POST \
--url https://app.tegon.ai/api/v1/issues \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"priority": 123,
"dueDate": "<string>",
"sortOrder": 123,
"estimate": 123,
"subIssueSortOrder": 123,
"labelIds": [
"<string>"
],
"assigneeId": "<string>",
"stateId": "<string>",
"parentId": "<string>",
"subscriberIds": [
"<string>"
],
"teamId": "<string>",
"linkIssue": {
"url": "<string>",
"title": "<string>"
},
"issueRelation": {
"type": "<string>",
"issueId": "<string>",
"relatedIssueId": "<string>"
},
"attachments": [
"<string>"
],
"subIssues": [
{}
],
"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>"
}