SDK reference

Boards and sprints

Each route's function in the SDK, its call beside the same request in cURL.
orgIssuesBoards

GET/v1/orgs/:orgId/issues/boards

Boards the caller can see (space narrows to boards showing that space).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesBoards

POST/v1/orgs/:orgId/issues/boards

Creates a board over one or more spaces, with columns from their workflows' statuses.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "type": "scrum",
    "spaces": [
      "example"
    ]
  }'
orgIssuesBoardsByBoardId

GET/v1/orgs/:orgId/issues/boards/:boardId

A board's configuration.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchOrgIssuesBoardsByBoardId

PATCH/v1/orgs/:orgId/issues/boards/:boardId

Changes a board's name, columns (status mapping, WIP limits), swimlanes, quick filters, card fields and sharing.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "config": {
      "spaceIds": [
        "example"
      ],
      "query": "example",
      "columns": [
        {
          "id": "<id>",
          "name": "Example",
          "statusIds": [
            "example"
          ]
        }
      ]
    },
    "baseVersion": 1
  }'
deleteOrgIssuesBoardsByBoardId

DELETE/v1/orgs/:orgId/issues/boards/:boardId

Deletes a board without an active sprint; issues in its future sprints return to the backlog.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesBoardsIssues

GET/v1/orgs/:orgId/issues/boards/:boardId/issues

The board's cards: the active sprints' issues (scrum) or the flow (kanban), with quick filters (comma-separated ids).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}/issues' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesBoardsBacklog

GET/v1/orgs/:orgId/issues/boards/:boardId/backlog

Active and future sprints with their issues, the backlog and the epics of the board's spaces.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}/backlog' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesBoardsMove

POST/v1/orgs/:orgId/issues/boards/:boardId/move

Moves a card to a column (through the workflow) and optionally ranks it next to another card. 409 names the fields a transition asks for.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}/move' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "issue": "example",
    "columnId": "<columnId>"
  }'
orgIssuesBoardsVelocity

GET/v1/orgs/:orgId/issues/boards/:boardId/velocity

Committed and completed estimates of the last closed sprints.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/boards/{boardId}/velocity' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesSprints

GET/v1/orgs/:orgId/issues/sprints

Sprints of the boards the caller can see: active first, then future, then closed (newest first).

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesSprints

POST/v1/orgs/:orgId/issues/sprints

Creates a future sprint on a scrum board.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "boardId": "<boardId>"
  }'
postOrgIssuesSprintsMove

POST/v1/orgs/:orgId/issues/sprints/move

Puts issues into a sprint (sprint: null for the backlog), optionally ranked before or after another issue.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints/move' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "issues": [
      "example"
    ],
    "sprint": "example"
  }'
patchOrgIssuesSprintsBySprintId

PATCH/v1/orgs/:orgId/issues/sprints/:sprintId

Changes a sprint's name, goal, dates, order or capacity.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints/{sprintId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "goal": "example",
    "startDate": 1
  }'
postOrgIssuesSprintsStart

POST/v1/orgs/:orgId/issues/sprints/:sprintId/start

Starts a future sprint; its issues become the committed scope.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints/{sprintId}/start' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "endDate": 1
  }'
postOrgIssuesSprintsComplete

POST/v1/orgs/:orgId/issues/sprints/:sprintId/complete

Completes an active sprint; open issues move to moveTo (a sprint id, new or backlog).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints/{sprintId}/complete' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "moveTo": "example"
  }'
orgIssuesSprintsReport

GET/v1/orgs/:orgId/issues/sprints/:sprintId/report

Burndown, scope changes and outcome of a sprint.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints/{sprintId}/report' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteOrgIssuesSprintsBySprintId

DELETE/v1/orgs/:orgId/issues/sprints/:sprintId

Deletes a future sprint; its issues return to the backlog.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/sprints/{sprintId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesBoards

GET/v1/me/issues/boards

Boards the caller can see (space narrows to boards showing that space).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/boards' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesBoards

POST/v1/me/issues/boards

Creates a board over one or more spaces, with columns from their workflows' statuses.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/boards' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "type": "scrum",
    "spaces": [
      "example"
    ]
  }'
meIssuesBoardsByBoardId

GET/v1/me/issues/boards/:boardId

A board's configuration.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
patchMeIssuesBoardsByBoardId

PATCH/v1/me/issues/boards/:boardId

Changes a board's name, columns (status mapping, WIP limits), swimlanes, quick filters, card fields and sharing.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "config": {
      "spaceIds": [
        "example"
      ],
      "query": "example",
      "columns": [
        {
          "id": "<id>",
          "name": "Example",
          "statusIds": [
            "example"
          ]
        }
      ]
    },
    "baseVersion": 1
  }'
deleteMeIssuesBoardsByBoardId

DELETE/v1/me/issues/boards/:boardId

Deletes a board without an active sprint; issues in its future sprints return to the backlog.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesBoardsIssues

GET/v1/me/issues/boards/:boardId/issues

The board's cards: the active sprints' issues (scrum) or the flow (kanban), with quick filters (comma-separated ids).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}/issues' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesBoardsBacklog

GET/v1/me/issues/boards/:boardId/backlog

Active and future sprints with their issues, the backlog and the epics of the board's spaces.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}/backlog' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesBoardsMove

POST/v1/me/issues/boards/:boardId/move

Moves a card to a column (through the workflow) and optionally ranks it next to another card. 409 names the fields a transition asks for.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}/move' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "issue": "example",
    "columnId": "<columnId>"
  }'
meIssuesBoardsVelocity

GET/v1/me/issues/boards/:boardId/velocity

Committed and completed estimates of the last closed sprints.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/boards/{boardId}/velocity' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesSprints

GET/v1/me/issues/sprints

Sprints of the boards the caller can see: active first, then future, then closed (newest first).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/sprints' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesSprints

POST/v1/me/issues/sprints

Creates a future sprint on a scrum board.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/sprints' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "boardId": "<boardId>"
  }'
postMeIssuesSprintsMove

POST/v1/me/issues/sprints/move

Puts issues into a sprint (sprint: null for the backlog), optionally ranked before or after another issue.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/sprints/move' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "issues": [
      "example"
    ],
    "sprint": "example"
  }'
patchMeIssuesSprintsBySprintId

PATCH/v1/me/issues/sprints/:sprintId

Changes a sprint's name, goal, dates, order or capacity.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/issues/sprints/{sprintId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "goal": "example",
    "startDate": 1
  }'
postMeIssuesSprintsStart

POST/v1/me/issues/sprints/:sprintId/start

Starts a future sprint; its issues become the committed scope.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/sprints/{sprintId}/start' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "endDate": 1
  }'
postMeIssuesSprintsComplete

POST/v1/me/issues/sprints/:sprintId/complete

Completes an active sprint; open issues move to moveTo (a sprint id, new or backlog).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/sprints/{sprintId}/complete' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "moveTo": "example"
  }'
meIssuesSprintsReport

GET/v1/me/issues/sprints/:sprintId/report

Burndown, scope changes and outcome of a sprint.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/sprints/{sprintId}/report' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeIssuesSprintsBySprintId

DELETE/v1/me/issues/sprints/:sprintId

Deletes a future sprint; its issues return to the backlog.

Parameters and answers
curl -X DELETE 'https://api.cactive.com.au/v1/me/issues/sprints/{sprintId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"