Query defect insights

Returns defect counts grouped by priority and by severity in the current project, with sample defects for each group. Select a period with fromDate and toDate, or an iteration with iterationType and iterationName. A complete period takes precedence over iteration selectors. Without either, the query covers the last 28 days. The response can contain only one of priorities and severities. Requires access to the project.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Select an iteration with iterationType and iterationName, or a period with both fromDate and toDate. Known limitation: the API does not define a date format or timezone for fromDate and toDate. A date-only toDate means midnight at the start of that date, not the end of it. Prefer iteration selectors.

string | null

RELEASE or SPRINT.

string | null

iterationName from List report iterations.

string | null

Start of the period, as a timestamp string.

string | null

End of the period (inclusive), as a timestamp string.

string | null
Defaults to UNRESOLVED

RESOLVED or UNRESOLVED. An explicit null does not apply the default.

integer | null
Defaults to 3

Maximum sample defects for each priority or severity. An explicit null does not apply the default.

integer | null
Defaults to 2

Include priority or severity orders at or below this value.

Headers
uuid

Account UUID when explicit account context is needed.

int64

Organization ID when explicit organization context is needed.

int64
required

Project ID accessible to the key's user.

Responses

default

The request could not be completed. Check authentication, project access, IDs and selectors. Error statuses and response bodies vary by failure.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Choose an example:
application/json