BizKitHub
DocsAPI ReferenceIssue/bff/issue/link-blob
postIssueAdmin BFF

/bff/issue/link-blob

Links a previously-uploaded blob to an existing issue via pm__issue_attachment. Idempotent — a repeated call for the same (blob, issue) pair short-circuits with linked: false instead of erroring. Called by the admin sidebar uploader after POST /bff/blob/upload returns a token.

IssuepostBffIssueLink-blob

Parameters

JSON body

Request body

application/json
issueKeystringRequired

Issue key.

ExamplePROJ-123
blobTokenstringRequired

Token of the blob (file) to attach — returned by POST /bff/blob/upload.

Response schema

1 status code documented

200Success
successbooleanRequired
linkedbooleanRequired

True when the row was inserted; false when the blob was already linked.

Response example

application/json
{
  "success": false,
  "linked": false
}

Request example

POST /bff/issue/link-blob

post
curl -X POST "https://api.bizkithub.com/bff/issue/link-blob" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "issueKey": "PROJ-123",
  "blobToken": "example_blobToken"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key