SDK reference
Issue reports and dashboards
GET/
Work logged between two instants (at most 92 days) by people: users (ids, comma-separated), a team, or the caller.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/reports/timesheet?from=1&to=1' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
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.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/reports?type=createdVsResolved' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Dashboards the caller owns or that are shared with them (default and starred first).
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a dashboard; without gadgets it starts with a useful default set.
Parameters and answerscurl -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"
}'PUT/
Makes a dashboard the caller's default (dashboardId: null clears it).
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>"
}'GET/
A dashboard with its gadgets.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards/{dashboardId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Changes a dashboard (its owner, or org admins); pass baseVersion to avoid overwriting newer edits.
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"
]
}
}'POST/
Copies a dashboard into a new private one owned by the caller.
Parameters and answerscurl -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"
}'POST/
Stars or unstars a dashboard for the caller.
Parameters and answerscurl -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
}'DELETE/
Deletes a dashboard (its owner, or org admins).
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/dashboards/{dashboardId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Work logged between two instants (at most 92 days) by people: users (ids, comma-separated), a team, or the caller.
curl 'https://api.cactive.com.au/v1/me/issues/reports/timesheet?from=1&to=1' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
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.
curl 'https://api.cactive.com.au/v1/me/issues/reports?type=createdVsResolved' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Dashboards the caller owns or that are shared with them (default and starred first).
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/dashboards' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a dashboard; without gadgets it starts with a useful default set.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/issues/dashboards' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example"
}'PUT/
Makes a dashboard the caller's default (dashboardId: null clears it).
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>"
}'GET/
A dashboard with its gadgets.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/dashboards/{dashboardId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Changes a dashboard (its owner, or org admins); pass baseVersion to avoid overwriting newer edits.
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"
]
}
}'POST/
Copies a dashboard into a new private one owned by the caller.
Parameters and answerscurl -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"
}'POST/
Stars or unstars a dashboard for the caller.
Parameters and answerscurl -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
}'DELETE/
Deletes a dashboard (its owner, or org admins).
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/issues/dashboards/{dashboardId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"