Skip to content
View as Markdown

IssueQuery

Source definition: src/bitdrift/public/unary/issues/v1/issues.proto#L85-L99

Limits what issues are being queried for an endpoint. For issue group queries, this limits which issues are considered when listing issue groups.

Field Type Description
time_range bitdrift.public.unary.common.v1.TimeRange
platforms array of bitdrift.public.shared.platform.v1.Platform
up to 100 items
The platforms to filter by.
advanced_filters bitdrift.public.unary.issues.v1.AdvancedFilter The advanced filters to apply to the issue query.
grouping_key array of string
up to 100 items
The group ID(s) to filter by. Only issues belonging to these group IDs will be returned.
feature_flag_filters array of bitdrift.public.unary.issues.v1.FeatureFlagFilter
up to 100 items
The feature flag filters to apply to the issue query. Only issues that had the specified feature flags active will be returned.

Example

JSON
{
  "advanced_filters": {
    "and_conditions": [
      {
        "or_conditions": [
          {
            "lhs_typed": "LHS_TYPED_APP_ID",
            "operator": "EQUAL",
            "rhs": "com.example.app"
          }
        ]
      }
    ]
  },
  "feature_flag_filters": [
    {
      "exclusive": false,
      "name": "EXC_BAD_ACCESS",
      "variant": "null pointer"
    }
  ],
  "grouping_key": [
    "12710232306638153143"
  ],
  "platforms": [
    {
      "apple": {
        "apps": [
          {
            "app_id": "com.example.app"
          }
        ]
      }
    }
  ],
  "time_range": {
    "relative_time_range": {
      "duration": "3600s",
      "offset": "3600s"
    }
  }
}