add islocked filter to SeachIssuesRequest (#2623)

* add islocker filter to SeachIssuesRequest

* update docs

* Update docs/search.md with review suggestions

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
notauserx
2022-12-01 05:20:19 +06:00
committed by GitHub
parent 6c11c1edff
commit 46b5077b16
4 changed files with 46 additions and 1 deletions
+8
View File
@@ -61,6 +61,14 @@ request.Involves = "terrajobst";
request.State = ItemState.All;
// or to just search closed issues
request.State = ItemState.Closed;
// you can filter by the "Is" qualifier
// the enum IssueIsQualifier contains the supported values
// you can filter for locked issues like this:
request.Is = new List<IssueIsQualifier> {
IssueIsQualifier.Issue,
IssueIsQualifier.Locked
};
```
There's other options available to control how the results are returned: