Skip to main content

taskLabels

Lists labels used on tasks in a company workspace or across the system.

Business Rules​

Returns distinct, sorted labels from matching tasks, including subtasks. A company workspace includes tasks shared with that company. Without a company workspace, filters select tasks across the system.

Error Scenarios​

The company must be available to the viewer. System-wide access requires staff access.

Permissions Required​

Requires tasks:read_tasks in the company, or system administrator, support administrator, or support viewer access for system-wide queries.

taskLabels(
companyId: ID
filters: CompanyTaskFilterInput
): [String!]!

Arguments​

taskLabels.companyId ● ID scalar common​

The company workspace whose labels to suggest.

taskLabels.filters ● CompanyTaskFilterInput input common​

Filters selecting the tasks whose labels to suggest.

Type​

String scalar common​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.