SDK reference
Issue configuration
GET/
Everything the Tasks app loads once: catalogs, fields, spaces, people, templates.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/meta' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
The org's catalogs and their version (for optimistic updates).
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PUT/
Replaces the catalogs. Statuses and types still used by workflows or spaces can't be removed.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"settings": {
"statuses": [
{
"id": "<id>",
"name": "Example",
"category": "todo"
}
],
"issueTypes": [
{
"id": "<id>",
"name": "Example",
"icon": "example",
"color": "gray",
"level": 1
}
],
"priorities": [
{
"id": "<id>",
"name": "Example",
"icon": "example",
"color": "gray"
}
],
"defaultPriorityId": "<defaultPriorityId>",
"resolutions": [
{
"id": "<id>",
"name": "Example"
}
],
"linkTypes": [
{
"id": "<id>",
"name": "Example",
"outward": "example",
"inward": "example"
}
]
},
"baseVersion": 1
}'GET/
Every workflow with its statuses and transitions.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
A workflow and the spaces that use it.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows/{workflowId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a workflow (every status must be reachable from the initial one).
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"definition": {
"initialStatusId": "<initialStatusId>",
"statuses": [
{
"statusId": "<statusId>"
}
],
"transitions": [
{
"id": "<id>",
"name": "Example",
"from": [
"example"
],
"to": "example"
}
]
}
}'PUT/
Replaces a workflow; pass baseVersion to fail instead of overwriting newer edits.
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows/{workflowId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"definition": {
"initialStatusId": "<initialStatusId>",
"statuses": [
{
"statusId": "<statusId>"
}
],
"transitions": [
{
"id": "<id>",
"name": "Example",
"from": [
"example"
],
"to": "example"
}
]
}
}'DELETE/
Deletes a workflow no space uses.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/workflows/{workflowId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Custom fields and the built-in fields.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a custom field (text, number, date, select, multi-select, cascading, people, team, URL, checkbox, labels).
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"type": "text"
}'PUT/
Changes a custom field (its type can't change).
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields/{fieldId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"type": "text"
}'DELETE/
Deletes the definition; values stay on issues but are no longer shown or searchable.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/fields/{fieldId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Screens: which fields show on create, edit and view, in tabs.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a screen.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"tabs": [
{
"name": "Example",
"fields": [
"example"
]
}
]
}'PUT/
Replaces a screen.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens/{screenId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"tabs": [
{
"name": "Example",
"fields": [
"example"
]
}
]
}'DELETE/
Deletes a screen no space uses.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/screens/{screenId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Permission schemes and the permissions they can grant.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a permission scheme.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"grants": {}
}'PUT/
Replaces a permission scheme's grants.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes/{schemeId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"grants": {}
}'DELETE/
Deletes a permission scheme no space uses.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/config/schemes/{schemeId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Everything the Tasks app loads once: catalogs, fields, spaces, people, templates.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/meta' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
The org's catalogs and their version (for optimistic updates).
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PUT/
Replaces the catalogs. Statuses and types still used by workflows or spaces can't be removed.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"settings": {
"statuses": [
{
"id": "<id>",
"name": "Example",
"category": "todo"
}
],
"issueTypes": [
{
"id": "<id>",
"name": "Example",
"icon": "example",
"color": "gray",
"level": 1
}
],
"priorities": [
{
"id": "<id>",
"name": "Example",
"icon": "example",
"color": "gray"
}
],
"defaultPriorityId": "<defaultPriorityId>",
"resolutions": [
{
"id": "<id>",
"name": "Example"
}
],
"linkTypes": [
{
"id": "<id>",
"name": "Example",
"outward": "example",
"inward": "example"
}
]
},
"baseVersion": 1
}'GET/
Every workflow with its statuses and transitions.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/workflows' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
A workflow and the spaces that use it.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/workflows/{workflowId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a workflow (every status must be reachable from the initial one).
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/issues/config/workflows' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"definition": {
"initialStatusId": "<initialStatusId>",
"statuses": [
{
"statusId": "<statusId>"
}
],
"transitions": [
{
"id": "<id>",
"name": "Example",
"from": [
"example"
],
"to": "example"
}
]
}
}'PUT/
Replaces a workflow; pass baseVersion to fail instead of overwriting newer edits.
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/workflows/{workflowId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"definition": {
"initialStatusId": "<initialStatusId>",
"statuses": [
{
"statusId": "<statusId>"
}
],
"transitions": [
{
"id": "<id>",
"name": "Example",
"from": [
"example"
],
"to": "example"
}
]
}
}'DELETE/
Deletes a workflow no space uses.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/workflows/{workflowId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Custom fields and the built-in fields.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/fields' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a custom field (text, number, date, select, multi-select, cascading, people, team, URL, checkbox, labels).
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/issues/config/fields' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"type": "text"
}'PUT/
Changes a custom field (its type can't change).
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/fields/{fieldId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"type": "text"
}'DELETE/
Deletes the definition; values stay on issues but are no longer shown or searchable.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/fields/{fieldId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Screens: which fields show on create, edit and view, in tabs.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/screens' \
-H "Authorization: Bearer $CACTIVE_TOKEN"curl -X POST 'https://api.cactive.com.au/v1/me/issues/config/screens' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"tabs": [
{
"name": "Example",
"fields": [
"example"
]
}
]
}'PUT/
Replaces a screen.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/screens/{screenId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"tabs": [
{
"name": "Example",
"fields": [
"example"
]
}
]
}'DELETE/
Deletes a screen no space uses.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/screens/{screenId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Permission schemes and the permissions they can grant.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/config/schemes' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Creates a permission scheme.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/issues/config/schemes' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"grants": {}
}'PUT/
Replaces a permission scheme's grants.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/me/issues/config/schemes/{schemeId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"grants": {}
}'DELETE/
Deletes a permission scheme no space uses.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/issues/config/schemes/{schemeId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"