README.md in gitlab-triage-1.41.0 vs README.md in gitlab-triage-1.42.0
- old
+ new
@@ -2,10 +2,14 @@
# GitLab Triage Project
This project allows to automate triaging of issues and merge requests for GitLab projects or groups.
+## Note this Gem is not supported by the GitLab Support team
+
+If you are a customer who has a GitLab License, **support for this gem is not covered by that license agreement as this is not part of the GitLab Product**. Feel free to open an issue in this project and the maintainers may be able to help.
+
## gitlab-triage gem
### Abstract
The `gitlab-triage` gem aims to enable project managers and maintainers to
@@ -178,10 +182,11 @@
- [`draft` condition](#draft-condition)
- [`source_branch` condition](#source-branch-condition)
- [`target_branch` condition](#target-branch-condition)
- [`health_status` condition](#health-status-condition)
- [`weight` condition](#weight-condition)
+- [`issue_type` condition](#issue-type-condition)
- [`discussions` condition](#discussions-condition)
- [`protected` condition](#protected-condition)
- [`ruby` condition](#ruby-condition)
- [`reviewer_id` condition](#reviewer-id-condition)
@@ -605,9 +610,28 @@
Example:
```yml
conditions:
weight: Any
+```
+
+##### Issue type condition
+
+**This condition is only applicable for issues.**
+
+Accepts a string per the [API documentation](https://docs.gitlab.com/ee/api/issues.html#list-issues). This condition can only filter by one issue type.
+
+| Issue type | Type | Value |
+| --------- | ---- | ------ |
+| Regular issue | string | `issue` |
+| Incident | string | `incident` |
+| Test case | string | `test_case` |
+
+Example:
+
+```yml
+conditions:
+ issue_type: issue
```
##### Discussions condition
Accepts a hash of fields.