Skip to content
View as Markdown

IssueQuery

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 repeated bitdrift.public.shared.platform.v1.Platform The platforms to filter by.
advanced_filters bitdrift.public.unary.client_report.v1.AdvancedFilter The advanced filters to apply to the issue query.
grouping_key repeated string The group ID(s) to filter by. Only issues belonging to these group IDs will be returned.
feature_flag_filters repeated bitdrift.public.unary.client_report.v1.FeatureFlagFilter 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": "app_id",
            "operator": "EQUAL",
            "rhs": "com.example.app"
          }
        ]
      }
    ]
  },
  "feature_flag_filters": [
    {
      "exclusive": false,
      "name": "EXC_BAD_ACCESS",
      "variant": "null pointer"
    }
  ],
  "grouping_key": [
    "EXC_BAD_ACCESS"
  ],
  "platforms": [
    {
      "apple": {
        "apps": [
          {
            "app_id": "com.example.app"
          }
        ]
      }
    }
  ],
  "time_range": {
    "relative_time_range": {
      "duration": "3600s",
      "offset": "3600s"
    }
  }
}