Skip to content
View as Markdown

ListIssuesRequest

Field Type Description
issue_group_id string The unique identifier for the issue group this issue belongs to.
offset uint32 Used to paginate through results. To get the next page result, set this to the desired starting offset. For example, setting to 10 will start with the 10th record. The default value is 0.
limit optional uint32 This defines the upper bound of the number of items returned. The maximum value supported is 100, meaning that we’ll never return more than max(items.count, limit, 100).
filters repeated bitdrift.public.unary.client_report.v1.ListIssuesRequest.ListIssuesFilters Filter the list of issues based on the current user's relationship to the issue. This is a logical AND. If no filters are supplied, all issues are returned.
sort_by repeated bitdrift.public.unary.common.v1.Sort Sort the list of issues based on the given list of fields. The order of the fields in this list determines the order in which sort is applied.
issue_query bitdrift.public.unary.client_report.v1.IssueQuery

Example

JSON
{
  "filters": [
    {
      "platform": {
        "value": [
          {
            "apple": {
              "apps": [
                {
                  "app_id": "com.example.app"
                }
              ]
            }
          }
        ]
      }
    }
  ],
  "issue_group_id": "11937913729565882410",
  "issue_query": {
    "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"
      }
    }
  },
  "limit": 25,
  "offset": 1,
  "sort_by": [
    {
      "direction": "ASC",
      "field": "field_name"
    }
  ]
}

ListIssuesRequest.ListIssuesFilters

Field Type Description
platform bitdrift.public.unary.client_report.v1.ListIssuesRequest.ListIssuesFilters.Platform Filters on the platform of issues.

(Only one of platform, or time_range, advanced_filters can be set)
time_range bitdrift.public.unary.client_report.v1.ListIssuesRequest.ListIssuesFilters.TimeRange Filters on the time range of issues.

(Only one of time_range, or platform, advanced_filters can be set)
advanced_filters bitdrift.public.unary.client_report.v1.AdvancedFilter Filters on the advanced filters of issues.

(Only one of advanced_filters, or platform, time_range can be set)

Example

JSON
{
  "platform": {
    "value": [
      {
        "apple": {
          "apps": [
            {
              "app_id": "com.example.app"
            }
          ]
        }
      }
    ]
  }
}

ListIssuesRequest.ListIssuesFilters.Platform

Field Type Description
value repeated bitdrift.public.shared.platform.v1.Platform The platform of an issue group to filter by.

Example

JSON
{
  "value": [
    {
      "apple": {
        "apps": [
          {
            "app_id": "com.example.app"
          }
        ]
      }
    }
  ]
}

ListIssuesRequest.ListIssuesFilters.TimeRange

Field Type Description
time_range bitdrift.public.unary.common.v1.TimeRange

Example

JSON
{
  "time_range": {
    "relative_time_range": {
      "duration": "3600s",
      "offset": "3600s"
    }
  }
}