Get tickets in a teamspace

Required scope: command_tickets:read

Returns compact records for the Command tickets in a teamspace. Filters combine with AND. With filters, a page can hold fewer than limit tickets, or none, while next_page is still set, so keep following next_page until it's null. The gid of a project that isn't a teamspace returns 404.

🚧

Early Access

Command endpoints are in early access and the interface is subject to change. For updates, please refer to our API Changelog.

📘

Command license required

To use these endpoints, you need a Command license. Learn what Command includes

Path Params
string
required

Globally unique identifier for the Command teamspace.

Query Params
opt_fields
array of strings

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. Properties can include nested fields. To learn more, see the input/output options guide.

opt_fields
string

Only return tickets that are either incomplete or that have been completed since this time. Accepts a date-time string or the keyword now.

date-time

Only return tickets that have been modified since this time.

string
enum

Only return tickets of this type.

Allowed:
string

Only return tickets in this work stage, the gid of one of the teamspace's work stages.

string

Comma-separated gids of the teamspace's labels, up to 10. Only return tickets with at least one of these labels. An empty value returns tickets without labels.

string

Only return tickets assigned to this user. This can either be the string "me", an email, or the gid of a user.

string

Comma-separated release gids, up to 10. Only return tickets in at least one of these releases. An empty value returns tickets in no release.

boolean

true returns only completed tickets, false only tickets that aren't completed.

boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

integer
1 to 100

Results per page.
The number of objects to return per page. The value must be between 1 and 100.

string

Offset token.
An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results.
Note: You can only pass in an offset that was returned to you via a previously paginated request.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json