AdvancedFilter¶
Defines advanced filtering for issue groups.
Each condition specifies a filter key, an operator, and a right-hand-side value. Depending on the selected field and operator, the right-hand side can represent a string, a semantic version, or another documented field-specific value.
Conditions within each OrCondition are ORed together, and the list of OrConditions is ANDed together. For example: [condition1 OR condition2] AND [condition3] AND [condition4]
AdvancedFilter { andConditions: [ OrCondition{ orConditions: [ Condition{lhsTyped: LHS_TYPED_APP_ID, operator: EQUAL, rhs: "com.example.app"}, Condition{lhsTyped: LHS_TYPED_APP_ID, operator: EQUAL, rhs: "com.example.app2"} ] }, OrCondition{orConditions: [Condition{lhsTyped: LHS_TYPED_PLATFORM, operator: EQUAL, rhs: "ANDROID"}]} ] }
| Field | Type | Description |
|---|---|---|
| and_conditions |
Example¶
{
"and_conditions": [
{
"or_conditions": [
{
"lhs_typed": "LHS_TYPED_APP_ID",
"operator": "EQUAL",
"rhs": "com.example.app"
}
]
}
]
}
AdvancedFilter.Condition¶
| Field | Type | Description |
|---|---|---|
| lhs_typed | bitdrift.public.unary.issues.v1.AdvancedFilter.Condition.LhsTyped | The filter key to match against. |
| operator | bitdrift.public.unary.common.v1.Operator | |
| rhs | string |
Example¶
{
"lhs_typed": "LHS_TYPED_APP_ID",
"operator": "EQUAL",
"rhs": "com.example.app"
}
AdvancedFilter.Condition.LhsTyped¶
| Name | Number | Description |
|---|---|---|
| LHS_TYPED_UNSPECIFIED | 0 | |
| LHS_TYPED_APP_ID | 1 | |
| LHS_TYPED_PLATFORM | 2 | |
| LHS_TYPED_APP_VERSION | 3 | |
| LHS_TYPED_OS_VERSION | 4 | |
| LHS_TYPED_MODEL | 5 | |
| LHS_TYPED_REASON | 6 | |
| LHS_TYPED_CONTEXT | 7 | |
| LHS_TYPED_REPORT_TYPE | 8 |
AdvancedFilter.OrCondition¶
| Field | Type | Description |
|---|---|---|
| or_conditions | The conditions that are ORed together. |
Example¶
{
"or_conditions": [
{
"lhs_typed": "LHS_TYPED_APP_ID",
"operator": "EQUAL",
"rhs": "com.example.app"
}
]
}