SDK reference

Issue reports and dashboards

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

GET/v1/orgs/:orgId/issues/reports/timesheet

Work logged between two instants (at most 92 days) by people: users (ids, comma-separated), a team, or the caller.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/reports/timesheet?from=1&to=1' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesReports

GET/v1/orgs/:orgId/issues/reports

Runs a report: createdVsResolved, cumulativeFlow, averageAge and resolutionTime are trends over days in interval buckets; controlChart gives cycle times of resolved issues; statistics and twoDimensional group by groupBy (and groupBy2); timeTracking, workload and epicProgress summarize estimates, assignees and epics; versionReport follows a version's scope and completed work with a forecast release date.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/reports?type=createdVsResolved' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesDashboards

GET/v1/orgs/:orgId/issues/dashboards

Dashboards the caller owns or that are shared with them (default and starred first).

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

POST/v1/orgs/:orgId/issues/dashboards

Creates a dashboard; without gadgets it starts with a useful default set.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example"
  }'
putOrgIssuesDashboardsDefault

PUT/v1/orgs/:orgId/issues/dashboards/default

Makes a dashboard the caller's default (dashboardId: null clears it).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards/default' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "dashboardId": "<dashboardId>"
  }'
orgIssuesDashboardsByDashboardId

GET/v1/orgs/:orgId/issues/dashboards/:dashboardId

A dashboard with its gadgets.

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

PATCH/v1/orgs/:orgId/issues/dashboards/:dashboardId

Changes a dashboard (its owner, or org admins); pass baseVersion to avoid overwriting newer edits.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards/{dashboardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "description": "example",
    "sharing": {
      "org": true,
      "teams": [
        "example"
      ],
      "users": [
        "example"
      ]
    }
  }'
postOrgIssuesDashboardsCopy

POST/v1/orgs/:orgId/issues/dashboards/:dashboardId/copy

Copies a dashboard into a new private one owned by the caller.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards/{dashboardId}/copy' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example"
  }'
postOrgIssuesDashboardsStar

POST/v1/orgs/:orgId/issues/dashboards/:dashboardId/star

Stars or unstars a dashboard for the caller.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards/{dashboardId}/star' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "starred": true
  }'
deleteOrgIssuesDashboardsByDashboardId

DELETE/v1/orgs/:orgId/issues/dashboards/:dashboardId

Deletes a dashboard (its owner, or org admins).

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

GET/v1/me/issues/reports/timesheet

Work logged between two instants (at most 92 days) by people: users (ids, comma-separated), a team, or the caller.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/reports/timesheet?from=1&to=1' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesReports

GET/v1/me/issues/reports

Runs a report: createdVsResolved, cumulativeFlow, averageAge and resolutionTime are trends over days in interval buckets; controlChart gives cycle times of resolved issues; statistics and twoDimensional group by groupBy (and groupBy2); timeTracking, workload and epicProgress summarize estimates, assignees and epics; versionReport follows a version's scope and completed work with a forecast release date.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/reports?type=createdVsResolved' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesDashboards

GET/v1/me/issues/dashboards

Dashboards the caller owns or that are shared with them (default and starred first).

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

POST/v1/me/issues/dashboards

Creates a dashboard; without gadgets it starts with a useful default set.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/dashboards' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example"
  }'
putMeIssuesDashboardsDefault

PUT/v1/me/issues/dashboards/default

Makes a dashboard the caller's default (dashboardId: null clears it).

Parameters and answers
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/dashboards/default' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "dashboardId": "<dashboardId>"
  }'
meIssuesDashboardsByDashboardId

GET/v1/me/issues/dashboards/:dashboardId

A dashboard with its gadgets.

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

PATCH/v1/me/issues/dashboards/:dashboardId

Changes a dashboard (its owner, or org admins); pass baseVersion to avoid overwriting newer edits.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/issues/dashboards/{dashboardId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example",
    "description": "example",
    "sharing": {
      "org": true,
      "teams": [
        "example"
      ],
      "users": [
        "example"
      ]
    }
  }'
postMeIssuesDashboardsCopy

POST/v1/me/issues/dashboards/:dashboardId/copy

Copies a dashboard into a new private one owned by the caller.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/dashboards/{dashboardId}/copy' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example"
  }'
postMeIssuesDashboardsStar

POST/v1/me/issues/dashboards/:dashboardId/star

Stars or unstars a dashboard for the caller.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/dashboards/{dashboardId}/star' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "starred": true
  }'
deleteMeIssuesDashboardsByDashboardId

DELETE/v1/me/issues/dashboards/:dashboardId

Deletes a dashboard (its owner, or org admins).

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