From 8c57914793997b081f4926375643ceebcfbc95b6 Mon Sep 17 00:00:00 2001 From: Jean-Michel Leclercq Date: Sun, 13 Oct 2024 21:52:09 +0200 Subject: [PATCH] feat: add in field to IssueFilter #1172 --- .../java/org/gitlab4j/api/models/IssueFilter.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/java/org/gitlab4j/api/models/IssueFilter.java b/src/main/java/org/gitlab4j/api/models/IssueFilter.java index 66b6608b6..eb5a61225 100644 --- a/src/main/java/org/gitlab4j/api/models/IssueFilter.java +++ b/src/main/java/org/gitlab4j/api/models/IssueFilter.java @@ -35,6 +35,11 @@ public class IssueFilter implements Serializable { */ private IssueState state; + /** + * Modify the scope of the search attribute. title, description, or a string joining them with comma. Default is title,description + */ + private List in; + /** * Comma-separated list of label names, issues must have all labels to be returned. No+Label lists all issues with no labels. */ @@ -157,6 +162,15 @@ public void setState(IssueState state) { this.state = state; } + + public List getIn() { + return in; + } + + public void setIn(List in) { + this.in = in; + } + public List getLabels() { return labels; } @@ -496,6 +510,7 @@ public GitLabApiForm getQueryParams() { .withParam("iids", iids) .withParam("state", state) .withParam("labels", (labels != null ? String.join(",", labels) : null)) + .withParam("in", (in != null ? String.join(",", in) : null)) .withParam("milestone", milestone) .withParam("scope", scope) .withParam("author_id", authorId)