BizKitHub
DocsAPI ReferenceProject/bff/project/{id}/set-auto-close-waiting
postProjectAdmin BFF

/bff/project/{id}/set-auto-close-waiting

Updates only cas__organisation_project.auto_close_waiting_after_days. The /cron/sync-low-priority-jobs tier sweep (syncAutoCloseWaitingIssues) closes every issue on projects where this value is > 0 whose current status is in the waiting category and whose updated_date is older than the threshold. 0 (default) disables the sweep.

ProjectpostBffProjectByIdSet-auto-close-waiting

Parameters

1 path · JSON body

Path parameters

· 1
idstringRequired
Exampleexample_id

Request body

application/json
autoCloseWaitingAfterDaysnumberRequired

Number of days a waiting-category issue must stay untouched before the low-priority cron closes it. 0 disables the sweep for this project.

Range: 0365
Examples0714

Response schema

1 status code documented

200Success
successbooleanRequired
autoCloseWaitingAfterDaysnumberRequired

Response example

application/json
{
  "success": false,
  "autoCloseWaitingAfterDays": 0
}

Request example

POST /bff/project/{id}/set-auto-close-waiting

post
curl -X POST "https://api.bizkithub.com/bff/project/example_id/set-auto-close-waiting" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "autoCloseWaitingAfterDays": 0
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key