SDK reference

Issue tracking

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

GET/v1/orgs/:orgId/issues/calendar/agenda

The caller's dates between from and to (YYYY-MM-DD, at most 100 days); tzOffset in minutes east of UTC dates sprint boundaries.

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

POST/v1/orgs/:orgId/issues/calendar/schedule/:issueKey

Books time for an issue in one of the caller's Mail calendars (a mailbox they're a member of; its default calendar unless calendarId): the event links back to the issue, and the issue lists the event. Guests aren't invited.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/calendar/schedule/{issueKey}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "mailboxId": "<mailboxId>",
    "start": "example",
    "end": "example",
    "timeZone": "example"
  }'
postOrgIssuesSearch

POST/v1/orgs/:orgId/issues/search

The same search as GET /issues with the query in the body (long queries).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/search' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "jql": "",
    "startAt": 0,
    "maxResults": 50
  }'
postOrgIssuesLinksAmong

POST/v1/orgs/:orgId/issues/links/among

Links among up to 500 issues (by id), each once from its outward side: timeline dependencies.

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

GET/v1/orgs/:orgId/issues

Searches with the query language (jql), paged. Default order: most recently updated.

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

GET/v1/orgs/:orgId/issues/export

Issues matching a query as a CSV (Jira-style columns) or JSON download, up to 10,000.

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

POST/v1/orgs/:orgId/issues/import

Imports a Jira CSV export (or this API's JSON export) into a space, 200 rows per call: pass startRow and keyMap from the previous answer until done. Space admins only.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/import' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "space": "example",
    "format": "csv",
    "content": "example"
  }'
orgIssuesPlaces

GET/v1/orgs/:orgId/issues/places

Places for an issue's location: up to 5 named like q (3 to 200 characters), nearest near (lat,lon) first. Shown to pick from, never kept: saving { address } looks the pick up again as a place to keep. Counts against the hour's address lookups (maps.places.searchHour); 429 past it.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/places?q=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesLabels

GET/v1/orgs/:orgId/issues/labels

Labels in use (most used first), for suggestions; space narrows to one space.

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

POST/v1/orgs/:orgId/issues

Creates an issue. Catalog fields take names or ids, people take ids or emails, parent an issue key.

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

POST/v1/orgs/:orgId/issues/rank

Reorders issues: puts them (in order) right before or after another issue.

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

POST/v1/orgs/:orgId/issues/bulk

Runs one operation (edit, labels, transition, comment, move, delete, watch, unwatch) on up to 200 issues; each reports its own result.

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

GET/v1/orgs/:orgId/issues/:issueKey

Everything the issue page shows: fields, description, comments, links, attachments, children, transitions.

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

PATCH/v1/orgs/:orgId/issues/:issueKey

Edits fields (status changes go through transitions).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "example",
    "summary": "Example",
    "description": "example"
  }'
deleteOrgIssuesByIssueKey

DELETE/v1/orgs/:orgId/issues/:issueKey

Deletes an issue with its comments, attachments, work logs and subtasks.

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

GET/v1/orgs/:orgId/issues/:issueKey/transitions

Transitions available from the issue's status, with the reason when a condition blocks one.

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

POST/v1/orgs/:orgId/issues/:issueKey/transitions

Moves the issue through its workflow (by transition id or name, or the target status name).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/transitions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "transition": "example"
  }'
postOrgIssuesApprovalsByApprovalId

POST/v1/orgs/:orgId/issues/:issueKey/approvals/:approvalId

Approves or declines a service request as one of its approvers; a final decision moves it on.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/approvals/{approvalId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "decision": "approve"
  }'
postOrgIssuesMove

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

Moves the issue (and its subtasks) to another space under a new key; the old key keeps working.

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

POST/v1/orgs/:orgId/issues/:issueKey/clone

Copies an issue (optionally with subtasks and links) and links the copy to the original.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/clone' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "summary": "Example",
    "subtasks": true,
    "links": true
  }'
orgIssuesChildren

GET/v1/orgs/:orgId/issues/:issueKey/children

Child issues (subtasks, or stories of an epic).

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

GET/v1/orgs/:orgId/issues/:issueKey/history

Field changes, newest first.

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

GET/v1/orgs/:orgId/issues/:issueKey/comments

Comments, oldest first (order=desc for newest first). Internal comments only for agents.

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

POST/v1/orgs/:orgId/issues/:issueKey/comments

Adds a comment (Markdown; mention people as @[Name](user:usr_…)). Internal comments are for service desk agents.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/comments' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "body": "example"
  }'
patchOrgIssuesCommentsByCommentId

PATCH/v1/orgs/:orgId/issues/:issueKey/comments/:commentId

Edits a comment (the previous body is kept as a revision) or changes its visibility.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/comments/{commentId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "body": "example",
    "visibility": "public"
  }'
deleteOrgIssuesCommentsByCommentId

DELETE/v1/orgs/:orgId/issues/:issueKey/comments/:commentId

Deletes a comment.

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

GET/v1/orgs/:orgId/issues/:issueKey/comments/:commentId/revisions

Earlier versions of an edited comment.

Parameters and answers
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/comments/{commentId}/revisions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postOrgIssuesCommentsReactions

POST/v1/orgs/:orgId/issues/:issueKey/comments/:commentId/reactions

Toggles the caller's reaction.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/comments/{commentId}/reactions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "emoji": "example"
  }'
postOrgIssuesLinks

POST/v1/orgs/:orgId/issues/:issueKey/links

Links to another issue by link type (id, name, or either direction's wording, e.g. "is blocked by").

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/links' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "example",
    "issue": "example"
  }'
postOrgIssuesRemoteLinks

POST/v1/orgs/:orgId/issues/:issueKey/remote-links

Links a web page or Notes page.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/remote-links' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com"
  }'
orgIssuesAttachments

GET/v1/orgs/:orgId/issues/:issueKey/attachments

Attachments.

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

POST/v1/orgs/:orgId/issues/:issueKey/attachments

Starts an upload: returns a presigned PUT (15 minutes, size and type signed). Finish with /complete.

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

POST/v1/orgs/:orgId/issues/:issueKey/attachments/:attachmentId/complete

Finishes an upload once the file is in place.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/attachments/{attachmentId}/complete' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
orgIssuesAttachmentsByAttachmentId

GET/v1/orgs/:orgId/issues/:issueKey/attachments/:attachmentId

A 5-minute download link (inline=1 opens images, PDFs and plain text in the browser).

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

DELETE/v1/orgs/:orgId/issues/:issueKey/attachments/:attachmentId

Deletes an attachment and its file.

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

GET/v1/orgs/:orgId/issues/:issueKey/worklogs

Work logs.

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

POST/v1/orgs/:orgId/issues/:issueKey/worklogs

Logs work ("1h 30m" or seconds); the remaining estimate goes down unless told otherwise.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/worklogs' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "timeSpent": 1
  }'
patchOrgIssuesWorklogsByWorklogId

PATCH/v1/orgs/:orgId/issues/:issueKey/worklogs/:worklogId

Changes a work log.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/worklogs/{worklogId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "timeSpent": 1,
    "started": 1,
    "comment": "example"
  }'
deleteOrgIssuesWorklogsByWorklogId

DELETE/v1/orgs/:orgId/issues/:issueKey/worklogs/:worklogId

Deletes a work log (its time goes back on the remaining estimate).

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

POST/v1/orgs/:orgId/issues/:issueKey/watchers

Starts or stops watching (the caller, or someone else with manage watchers).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/watchers' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "watching": true
  }'
postOrgIssuesVotes

POST/v1/orgs/:orgId/issues/:issueKey/votes

Votes for an issue, or withdraws the vote.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/{issueKey}/votes' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "voting": true
  }'
meIssuesCalendarAgenda

GET/v1/me/issues/calendar/agenda

The caller's dates between from and to (YYYY-MM-DD, at most 100 days); tzOffset in minutes east of UTC dates sprint boundaries.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/calendar/agenda?from=example&to=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesCalendarScheduleByIssueKey

POST/v1/me/issues/calendar/schedule/:issueKey

Books time for an issue in one of the caller's Mail calendars (a mailbox they're a member of; its default calendar unless calendarId): the event links back to the issue, and the issue lists the event. Guests aren't invited.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/calendar/schedule/{issueKey}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "mailboxId": "<mailboxId>",
    "start": "example",
    "end": "example",
    "timeZone": "example"
  }'
postMeIssuesSearch

POST/v1/me/issues/search

The same search as GET /issues with the query in the body (long queries).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/search' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "jql": "",
    "startAt": 0,
    "maxResults": 50
  }'
postMeIssuesLinksAmong

POST/v1/me/issues/links/among

Links among up to 500 issues (by id), each once from its outward side: timeline dependencies.

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

GET/v1/me/issues

Searches with the query language (jql), paged. Default order: most recently updated.

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

GET/v1/me/issues/export

Issues matching a query as a CSV (Jira-style columns) or JSON download, up to 10,000.

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

POST/v1/me/issues/import

Imports a Jira CSV export (or this API's JSON export) into a space, 200 rows per call: pass startRow and keyMap from the previous answer until done. Space admins only.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/import' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "space": "example",
    "format": "csv",
    "content": "example"
  }'
meIssuesPlaces

GET/v1/me/issues/places

Places for an issue's location: up to 5 named like q (3 to 200 characters), nearest near (lat,lon) first. Shown to pick from, never kept: saving { address } looks the pick up again as a place to keep. Counts against the hour's address lookups (maps.places.searchHour); 429 past it.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/places?q=example' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesLabels

GET/v1/me/issues/labels

Labels in use (most used first), for suggestions; space narrows to one space.

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

POST/v1/me/issues

Creates an issue. Catalog fields take names or ids, people take ids or emails, parent an issue key.

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

POST/v1/me/issues/rank

Reorders issues: puts them (in order) right before or after another issue.

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

POST/v1/me/issues/bulk

Runs one operation (edit, labels, transition, comment, move, delete, watch, unwatch) on up to 200 issues; each reports its own result.

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

GET/v1/me/issues/:issueKey

Everything the issue page shows: fields, description, comments, links, attachments, children, transitions.

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

PATCH/v1/me/issues/:issueKey

Edits fields (status changes go through transitions).

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/issues/{issueKey}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "example",
    "summary": "Example",
    "description": "example"
  }'
deleteMeIssuesByIssueKey

DELETE/v1/me/issues/:issueKey

Deletes an issue with its comments, attachments, work logs and subtasks.

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

GET/v1/me/issues/:issueKey/transitions

Transitions available from the issue's status, with the reason when a condition blocks one.

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

POST/v1/me/issues/:issueKey/transitions

Moves the issue through its workflow (by transition id or name, or the target status name).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/transitions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "transition": "example"
  }'
postMeIssuesApprovalsByApprovalId

POST/v1/me/issues/:issueKey/approvals/:approvalId

Approves or declines a service request as one of its approvers; a final decision moves it on.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/approvals/{approvalId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "decision": "approve"
  }'
postMeIssuesMove

POST/v1/me/issues/:issueKey/move

Moves the issue (and its subtasks) to another space under a new key; the old key keeps working.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/move' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "space": "example"
  }'
postMeIssuesClone

POST/v1/me/issues/:issueKey/clone

Copies an issue (optionally with subtasks and links) and links the copy to the original.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/clone' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "summary": "Example",
    "subtasks": true,
    "links": true
  }'
meIssuesChildren

GET/v1/me/issues/:issueKey/children

Child issues (subtasks, or stories of an epic).

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

GET/v1/me/issues/:issueKey/history

Field changes, newest first.

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

GET/v1/me/issues/:issueKey/comments

Comments, oldest first (order=desc for newest first). Internal comments only for agents.

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

POST/v1/me/issues/:issueKey/comments

Adds a comment (Markdown; mention people as @[Name](user:usr_…)). Internal comments are for service desk agents.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/comments' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "body": "example"
  }'
patchMeIssuesCommentsByCommentId

PATCH/v1/me/issues/:issueKey/comments/:commentId

Edits a comment (the previous body is kept as a revision) or changes its visibility.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/issues/{issueKey}/comments/{commentId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "body": "example",
    "visibility": "public"
  }'
deleteMeIssuesCommentsByCommentId

DELETE/v1/me/issues/:issueKey/comments/:commentId

Deletes a comment.

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

GET/v1/me/issues/:issueKey/comments/:commentId/revisions

Earlier versions of an edited comment.

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/{issueKey}/comments/{commentId}/revisions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postMeIssuesCommentsReactions

POST/v1/me/issues/:issueKey/comments/:commentId/reactions

Toggles the caller's reaction.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/comments/{commentId}/reactions' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "emoji": "example"
  }'
postMeIssuesLinks

POST/v1/me/issues/:issueKey/links

Links to another issue by link type (id, name, or either direction's wording, e.g. "is blocked by").

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/links' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "example",
    "issue": "example"
  }'
postMeIssuesRemoteLinks

POST/v1/me/issues/:issueKey/remote-links

Links a web page or Notes page.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/remote-links' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com"
  }'
meIssuesAttachments

GET/v1/me/issues/:issueKey/attachments

Attachments.

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

POST/v1/me/issues/:issueKey/attachments

Starts an upload: returns a presigned PUT (15 minutes, size and type signed). Finish with /complete.

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

POST/v1/me/issues/:issueKey/attachments/:attachmentId/complete

Finishes an upload once the file is in place.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/attachments/{attachmentId}/complete' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
meIssuesAttachmentsByAttachmentId

GET/v1/me/issues/:issueKey/attachments/:attachmentId

A 5-minute download link (inline=1 opens images, PDFs and plain text in the browser).

Parameters and answers
curl 'https://api.cactive.com.au/v1/me/issues/{issueKey}/attachments/{attachmentId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
deleteMeIssuesAttachmentsByAttachmentId

DELETE/v1/me/issues/:issueKey/attachments/:attachmentId

Deletes an attachment and its file.

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

GET/v1/me/issues/:issueKey/worklogs

Work logs.

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

POST/v1/me/issues/:issueKey/worklogs

Logs work ("1h 30m" or seconds); the remaining estimate goes down unless told otherwise.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/worklogs' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "timeSpent": 1
  }'
patchMeIssuesWorklogsByWorklogId

PATCH/v1/me/issues/:issueKey/worklogs/:worklogId

Changes a work log.

Parameters and answers
curl -X PATCH 'https://api.cactive.com.au/v1/me/issues/{issueKey}/worklogs/{worklogId}' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "timeSpent": 1,
    "started": 1,
    "comment": "example"
  }'
deleteMeIssuesWorklogsByWorklogId

DELETE/v1/me/issues/:issueKey/worklogs/:worklogId

Deletes a work log (its time goes back on the remaining estimate).

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

POST/v1/me/issues/:issueKey/watchers

Starts or stops watching (the caller, or someone else with manage watchers).

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/me/issues/{issueKey}/watchers' \
  -H "Authorization: Bearer $CACTIVE_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "watching": true
  }'
postMeIssuesVotes

POST/v1/me/issues/:issueKey/votes

Votes for an issue, or withdraws the vote.

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