SDK reference
Issue filters
GET/
Filters the caller owns or that are shared with them, starred first.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Saves a query as a filter (private until shared).
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"jql": "example"
}'GET/
A filter the caller can see.
Parameters and answerscurl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Changes a filter (its owner, or org admins).
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"description": "example",
"jql": "example"
}'DELETE/
Deletes a filter and its subscriptions (its owner, or org admins).
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Stars or unstars a filter for the caller.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}/star' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"starred": true
}'PUT/
Emails the caller the filter's issues daily or weekly at an hour (UTC); subscription: null stops it.
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}/subscription' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"subscription": {
"frequency": "daily",
"hour": 1
}
}'GET/
Filters the caller owns or that are shared with them, starred first.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/filters' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Saves a query as a filter (private until shared).
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/issues/filters' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"jql": "example"
}'GET/
A filter the caller can see.
Parameters and answerscurl 'https://api.cactive.com.au/v1/me/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Changes a filter (its owner, or org admins).
Parameters and answerscurl -X PATCH 'https://api.cactive.com.au/v1/me/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"description": "example",
"jql": "example"
}'DELETE/
Deletes a filter and its subscriptions (its owner, or org admins).
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Stars or unstars a filter for the caller.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/issues/filters/{filterId}/star' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"starred": true
}'PUT/
Emails the caller the filter's issues daily or weekly at an hour (UTC); subscription: null stops it.
curl -X PUT 'https://api.cactive.com.au/v1/me/issues/filters/{filterId}/subscription' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"subscription": {
"frequency": "daily",
"hour": 1
}
}'