BizKitHub
DocsAPI ReferenceIssue/bff/issue/retriage-pending
postIssueAdmin BFF

/bff/issue/retriage-pending

Runs the AI assignee classifier again over every unassigned, non-spam, non-done issue in the organisation. Meant to be invoked after an operator edits the per-member AI descriptions (see Nastavení AI přidělování požadavků in the admin) — tickets that landed without an assignee because no member had a description at creation time get a fresh look. Does NOT re-run spam / priority / type / velocity classification (one-shot decisions), and does NOT re-send the "new issue" internal e-mail (would spam the team). Sends the standard "assigned to you" notification for every ticket that gains an assignee. Capped at 500 issues per invocation.

IssuepostBffIssueRetriage-pending

Parameters

JSON body

Request body

application/json
projectCodestringOptional

Narrow the re-triage to a single project (by projectKey, e.g. "PROJ"). Omit to sweep every project in the organisation.

ExamplePROJ

Response schema

1 status code documented

200Success
processednumberRequired

Total unassigned issues considered (capped at 500).

assignednumberRequired

Issues that gained a new AI-picked assignee.

skippedNoCandidatesnumberRequired

Issues skipped because the organisation has no members with an aiDescription — nothing for the classifier to reason about.

skippedNoDecisionnumberRequired

Issues where the classifier saw candidates but did not confidently pick any.

skippedOthernumberRequired

Issues skipped for other reasons (assigned in the meantime by another operator, re-classified as spam).

failednumberRequired

Issues where the classifier or DB write threw.

Response example

application/json
{
  "processed": 0,
  "assigned": 0,
  "skippedNoCandidates": 0,
  "skippedNoDecision": 0,
  "skippedOther": 0,
  "failed": 0
}

Request example

POST /bff/issue/retriage-pending

post
curl -X POST "https://api.bizkithub.com/bff/issue/retriage-pending" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "projectCode": "PROJ"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key