API reference
Issue filters
/ v1/ orgs/ :orgId/ issues/ filtersFilters the caller owns or that are shared with them, starred first.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
filters: {
filterId: string
name: string
description: string
jql: string
ownerId?: string
sharing: {
org: boolean
teams: string[]
users: string[]
}
columns?: string[]
subscriptions: {
userId: string
frequency: "daily" | "weekly"
hour: number
weekday?: number
lastSentAt?: number
}[]
starred: boolean
editable: boolean
version: number
updatedAt: number
}[]
}/ v1/ orgs/ :orgId/ issues/ filtersSaves a query as a filter (private until shared).
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).
Request body
descriptionstringUp to 1,000 characters.
sharingobjectsharing.orgbooleanrequiredsharing.teamsstring[]requiredUp to 50 items. Each up to 64 characters.
sharing.usersstring[]requiredUp to 200 items. Each up to 64 characters.
columnsstring[]Up to 30 items. Each up to 64 characters.
namestringrequired1–100 characters. Trimmed.
jqlstringrequiredUp to 10,000 characters.
curl -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"
}'Response 201
{
filter: {
filterId: string
name: string
description: string
jql: string
ownerId?: string
sharing: {
org: boolean
teams: string[]
users: string[]
}
columns?: string[]
subscriptions: {
userId: string
frequency: "daily" | "weekly"
hour: number
weekday?: number
lastSentAt?: number
}[]
starred: boolean
editable: boolean
version: number
updatedAt: number
}
}/ v1/ orgs/ :orgId/ issues/ filters/ :filterIdA filter the caller can see.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).filterIdFilter id: a mail filter (
flt_…) or a saved issue filter (ifl_…).
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
filter: {
filterId: string
name: string
description: string
jql: string
ownerId?: string
sharing: {
org: boolean
teams: string[]
users: string[]
}
columns?: string[]
subscriptions: {
userId: string
frequency: "daily" | "weekly"
hour: number
weekday?: number
lastSentAt?: number
}[]
starred: boolean
editable: boolean
version: number
updatedAt: number
}
}/ v1/ orgs/ :orgId/ issues/ filters/ :filterIdChanges a filter (its owner, or org admins).
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).filterIdFilter id: a mail filter (
flt_…) or a saved issue filter (ifl_…).
Request body
namestring1–100 characters. Trimmed.
descriptionstringUp to 1,000 characters.
jqlstringUp to 10,000 characters.
sharingobjectsharing.orgbooleanrequiredsharing.teamsstring[]requiredUp to 50 items. Each up to 64 characters.
sharing.usersstring[]requiredUp to 200 items. Each up to 64 characters.
columnsstring[]Up to 30 items. Each up to 64 characters.
curl -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"
}'Response 200
{
filter: {
filterId: string
name: string
description: string
jql: string
ownerId?: string
sharing: {
org: boolean
teams: string[]
users: string[]
}
columns?: string[]
subscriptions: {
userId: string
frequency: "daily" | "weekly"
hour: number
weekday?: number
lastSentAt?: number
}[]
starred: boolean
editable: boolean
version: number
updatedAt: number
}
}/ v1/ orgs/ :orgId/ issues/ filters/ :filterIdDeletes a filter and its subscriptions (its owner, or org admins).
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).filterIdFilter id: a mail filter (
flt_…) or a saved issue filter (ifl_…).
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/issues/filters/{filterId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
filterId: string
}/ v1/ orgs/ :orgId/ issues/ filters/ :filterId/ starStars or unstars a filter for the caller.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).filterIdFilter id: a mail filter (
flt_…) or a saved issue filter (ifl_…).
Request body
starredbooleanrequired
curl -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
}'Response 200
{
filter: {
filterId: string
name: string
description: string
jql: string
ownerId?: string
sharing: {
org: boolean
teams: string[]
users: string[]
}
columns?: string[]
subscriptions: {
userId: string
frequency: "daily" | "weekly"
hour: number
weekday?: number
lastSentAt?: number
}[]
starred: boolean
editable: boolean
version: number
updatedAt: number
}
}/ v1/ orgs/ :orgId/ issues/ filters/ :filterId/ subscriptionEmails the caller the filter's issues daily or weekly at an hour (UTC); subscription: null stops it.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- issues:read
Path parameters
orgIdOrganization id (
org_…).filterIdFilter id: a mail filter (
flt_…) or a saved issue filter (ifl_…).
Request body
subscriptionobjectrequiredor nullsubscription.frequency"daily" | "weekly"requiredsubscription.hourintegerrequired0–23.
subscription.weekdayinteger0–6.
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
}
}'Response 200
{
filter: {
filterId: string
name: string
description: string
jql: string
ownerId?: string
sharing: {
org: boolean
teams: string[]
users: string[]
}
columns?: string[]
subscriptions: {
userId: string
frequency: "daily" | "weekly"
hour: number
weekday?: number
lastSentAt?: number
}[]
starred: boolean
editable: boolean
version: number
updatedAt: number
}
}