Skip to content

Commit

Permalink
Add in field to IssueFilter (#1182)
Browse files Browse the repository at this point in the history
Fixes #1172
  • Loading branch information
LeJeanbono authored Oct 15, 2024
1 parent 384f26a commit 1f3741a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/java/org/gitlab4j/api/models/IssueFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> in;

/**
* Comma-separated list of label names, issues must have all labels to be returned. No+Label lists all issues with no labels.
*/
Expand Down Expand Up @@ -157,6 +162,14 @@ public void setState(IssueState state) {
this.state = state;
}

public List<String> getIn() {
return in;
}

public void setIn(List<String> in) {
this.in = in;
}

public List<String> getLabels() {
return labels;
}
Expand Down Expand Up @@ -496,6 +509,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)
Expand Down

0 comments on commit 1f3741a

Please sign in to comment.