Skip to main content
Complete reference of all fields you can query in OQL.

Test Case Fields

Identifiers & Metadata

FieldTypeDescriptionExample
identifierstringTest case ID (TC-NNN)identifier ^ "TC-10"
titlestringTest case titletitle ~ "login"
descriptionstringTest descriptiondescription ~ "authentication"
test_typeenummanual, automated, exploratorytest_type = manual
statusenumdraft, ready, deprecated, archivedstatus = ready
priorityenump1, p2, p3, p4priority IN (p1, p2)
componentstringComponent namecomponent = "checkout"
automation_statusenumnot_automated, candidate, automatedautomation_status = automated

Dates & Times

FieldTypeDescriptionExample
created_atdatetimeWhen createdcreated_at >= -7d
updated_atdatetimeLast modifiedupdated_at >= startOfMonth()
archived_atdatetimeWhen archivedarchived_at IS NOT NULL

Organization

FieldTypeDescriptionExample
folder_iduuidParent folderfolder_id IS NOT NULL
tagsarrayTest tagstags CONTAINS "smoke"

Ownership

FieldTypeDescriptionExample
created_bystringCreator user IDcreated_by = "user_123"
ownerstringTest case ownerowner IS NOT NULL

Release Fields

FieldTypeDescriptionExample
namestringRelease namename ~ "v2"
descriptionstringRelease descriptiondescription ~ "hotfix"
scopestringRelease scopescope = "backend"
statusenumplanned, active, releasedstatus = active
start_datedatePlanned start datestart_date >= 2024-01-01
end_datedatePlanned end dateend_date <= +30d
created_atdatetimeWhen createdcreated_at >= -30d
updated_atdatetimeLast modifiedupdated_at >= startOfWeek()
created_bystringCreator user IDcreated_by = "user_123"
sprint_countnumberNumber of sprintssprint_count > 0
build_countnumberNumber of buildsbuild_count >= 5

Environment Fields

FieldTypeDescriptionExample
namestringEnvironment namename ~ "staging"
descriptionstringDescriptiondescription ~ "production"
endpoint_urlstringEnvironment URLendpoint_url ~ "api.example.com"
typeenumdevelopment, staging, productiontype = production
created_atdatetimeWhen createdcreated_at >= -90d
updated_atdatetimeLast modifiedupdated_at >= -7d
deployment_countnumberNumber of deploymentsdeployment_count > 0

Build Fields

FieldTypeDescriptionExample
versionstringBuild versionversion ^ "2.1"
git_shastringGit commit SHAgit_sha ^ "abc123"
scopestringBuild scopescope = "frontend"
statusenumpending, active, archivedstatus = active
created_atdatetimeWhen createdcreated_at >= -7d
updated_atdatetimeLast modifiedupdated_at >= -1d
releasestringParent release namerelease ~ "v2"
sprintstringParent sprint namesprint ~ "Sprint 5"
deployed_toarrayDeployed environmentsdeployed_to CONTAINS "staging"

Sprint Fields

FieldTypeDescriptionExample
numbernumberSprint numbernumber >= 5
namestringSprint namename ~ "Sprint 10"
scopestringSprint scopescope = "backend"
statusenumplanned, active, completedstatus = active
start_datedateSprint startstart_date >= -14d
end_datedateSprint endend_date <= +7d
created_atdatetimeWhen createdcreated_at >= -30d
releasestringParent release namerelease ~ "v3"

Test Run Fields

Run Metadata

FieldTypeDescriptionExample
namestringRun namename ~ "nightly"
descriptionstringRun descriptiondescription ~ "regression"
run_typeenummanual, automatedrun_type = automated
statusenumplanned, in_progress, completed, abortedstatus = completed
assigned_tostringAssigned userassigned_to = "user_123"
created_bystringCreatorcreated_by = "user_123"

Run Timing

FieldTypeDescriptionExample
planned_startdatetimePlanned startplanned_start >= -7d
planned_enddatetimePlanned endplanned_end IS NOT NULL
actual_startdatetimeActual startactual_start >= -24h
actual_enddatetimeActual endactual_end IS NOT NULL
created_atdatetimeWhen createdcreated_at >= startOfWeek()
updated_atdatetimeLast modifiedupdated_at >= -1d

Field Type Details

String Fields

Case-insensitive by default. Use pattern operators:
title ~ "login"           # Contains
title ^ "TC-"            # Starts with
title $ "test"           # Ends with

Enum Fields

Use exact values or IN for multiple:
status = ready
priority IN (p1, p2)
test_type = automated

Number Fields

Support comparison operators:
sprint_count > 0
build_count >= 5
number BETWEEN 1 AND 10

Boolean Fields

# Use IS NULL / IS NOT NULL for optional fields
owner IS NOT NULL
archived_at IS NULL

Datetime Fields

Support ISO dates and relative dates:
created_at = "2024-01-15"
created_at >= -7d
created_at >= startOfMonth()
updated_at >= startOfWeek()

Array Fields

Support contains operations:
tags CONTAINS "smoke"
tags CONTAINS ANY (smoke, regression)
tags CONTAINS ALL (smoke, critical)
deployed_to CONTAINS "staging"
Custom fields are also searchable using dot notation:
custom_fields.jira_ticket = "PROJ-123"

Tips

Not sure what field to use? Ask the AI:
What fields can I search for automated tests?
The AI will suggest appropriate fields and show examples.

What’s Next?