Set the poll by label of GitHub Issues
const url = 'https://beta-api.plune.ai/v1/projects/example/integrations/github-issues/poll';const options = { method: 'PUT', headers: { cookie: 'plune_session=<plune_session>', 'Content-Type': 'application/json' }, body: '{"enabled":true,"label":"plune"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://beta-api.plune.ai/v1/projects/example/integrations/github-issues/poll \ --header 'Content-Type: application/json' \ --cookie plune_session=<plune_session> \ --data '{ "enabled": true, "label": "plune" }'The owner’s (ADR 0083 §2): the issues of the connected repository with label are mirrored on a schedule - GET /repos/{owner}/{repo}/issues with labels, state=all and since (what changed after the last pass’s start minus 10 minutes), pull requests left out; a full pass a day marks left_filter the mirrors the label no longer holds. A limit of GitHub (403/429 with retry-after or x-ratelimit-remaining: 0 and x-ratelimit-reset) puts the pass back for that wait. intervalMinutes 5-1440 (15 by default). Off with no label keeps the saved one. GitHub is not asked here. Audited as tracker_connection.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An id from GET /v1/projects
Request Body required
Section titled “Request Body required ”object
One label; required to switch the poll on.
Example
{ "enabled": true, "label": "plune"}Responses
Section titled “ Responses ”Set
object
object
object
What the last pass did - the shape of Jira’s poll outcome.
object
Example
{ "connection": { "repository": "acme/shop", "state": "working", "stateReason": null, "checkedAt": "2026-09-16T09:12:04.151Z", "lastReadAt": "2026-09-16T09:12:04.151Z", "connectedBy": "u-shop", "connectedAt": "2026-09-16T09:12:04.151Z", "disconnectedBy": null, "disconnectedAt": null, "poll": { "enabled": true, "label": "plune", "intervalMinutes": 15, "nextPollAt": "2026-09-16T09:12:04.151Z", "running": false, "lastPolledAt": null, "last": null } }, "paidOnly": false}Invalid body - on without a label, a label with a comma, an interval out of bounds
object
Example generated
{ "error": "example"}No / invalid session — a CLI token is refused here
object
Example
{ "error": "sign in required"}Not the project’s owner; or (with TIER_LIMITS_ENFORCE=true) a tier without the issue_trackers permission, with feature and tier
object
Example
{ "error": "project owner only"}Nothing connected, or not your project
object
Example generated
{ "error": "example"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over
The server has no INTEGRATIONS_ENCRYPTION_KEY; GitHub was not asked
object
Example generated
{ "error": "example"}