Update issue
PATCH
bearerAuthheader
AuthorizationBearer <token>An API key created in Capy under Settings → API.
code*stringapplication/json- body
title?stringLength
1 <= length <= 500description?stringstateId?stringpriority?stringOne of
"urgent""high""normal""low"dueAt?|A date sets the due date; null clears it.
assignees?array<>The whole assignee set, primary first. An empty array leaves the issue unassigned.
Items
items <= 10parent?|A parent issue code sets the parent; null makes it a top-level issue.
labelIds?array<string>The whole label set, by id from GET /issue-labels.
Items
items <= 20visibility?stringApplies only to a top-level issue a person created; a sub-issue follows its parent.
One of
"org""private"files?array<>IssueDetail
application/json- response
id*stringcode*stringnumber*integerprojectId*stringtitle*stringstate*priority*|UnsupportedMember_2dueAt*string|nullparentId*string|nullvisibility*|UnsupportedMember_3assignees*array<>labels*array<>subIssueCount*integerclosedSubIssueCount*integeropenBlockerCount*integerOpen issues the key can read that block this one.
createdAt*stringupdatedAt*stringclosedAt*string|nulldescription*stringMarkdown. An embedded file appears as capy-file:<fileId>, one of files.
creator*|nullparent*|nullsubIssues*array<>pullRequests*array<>threads*array<>files*array<>curl -X PATCH 'https://api.capy.ai/api/v1/issues/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "code": "string", "number": 0, "projectId": "string", "title": "string", "state": { "id": "string", "name": "string", "type": "open" }, "priority": "urgent", "dueAt": "string", "parentId": "string", "visibility": "org", "assignees": [ { "kind": "user", "id": "string", "code": "string" } ], "labels": [ { "id": "string", "name": "string" } ], "subIssueCount": 0, "closedSubIssueCount": 0, "openBlockerCount": 0, "createdAt": "string", "updatedAt": "string", "closedAt": "string", "description": "string", "creator": { "kind": "user", "id": "string", "code": "string" }, "parent": { "id": "string", "code": "string", "number": 0, "projectId": "string", "title": "string", "state": { "id": "string", "name": "string", "type": "open" }, "priority": "urgent", "dueAt": "string", "parentId": "string", "visibility": "org", "assignees": [ { "kind": "user", "id": "string", "code": "string" } ], "labels": [ { "id": "string", "name": "string" } ], "subIssueCount": 0, "closedSubIssueCount": 0, "openBlockerCount": 0, "createdAt": "string", "updatedAt": "string", "closedAt": "string" }, "subIssues": [ { "id": "string", "code": "string", "number": 0, "projectId": "string", "title": "string", "state": { "id": "string", "name": "string", "type": "open" }, "priority": "urgent", "dueAt": "string", "parentId": "string", "visibility": "org", "assignees": [ { "kind": "user", "id": "string", "code": "string" } ], "labels": [ { "id": "string", "name": "string" } ], "subIssueCount": 0, "closedSubIssueCount": 0, "openBlockerCount": 0, "createdAt": "string", "updatedAt": "string", "closedAt": "string" } ], "pullRequests": [ { "repoFullName": "string", "number": 0, "state": "open" } ], "threads": [ { "id": "string", "code": "string" } ], "files": [ { "id": "string", "name": "string", "mediaType": "string", "sizeBytes": 0, "commentId": "string" } ]}