Skip to content

Commit b40197c

Browse files
Hardikrathod01Hardik Rathod
andauthored
fix: fixVersion field was not pulled from Jira (#710)
* Add fixVersions field in search from jql * Fix spotless violations --------- Co-authored-by: Hardik Rathod <hardik.rathod@fruitcore.de>
1 parent c4a8522 commit b40197c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/hudson/plugins/jira/JiraRestService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ public List<String> getProjectsKeys() {
229229

230230
public List<Issue> getIssuesFromJqlSearch(String jqlSearch, Integer maxResults) throws TimeoutException {
231231
try {
232-
Set<String> neededFields =
233-
new HashSet<>(Arrays.asList("summary", "issuetype", "created", "updated", "project", "status"));
232+
Set<String> neededFields = new HashSet<>(
233+
Arrays.asList("summary", "issuetype", "created", "updated", "project", "status", "fixVersions"));
234234

235235
final SearchResult searchResult = jiraRestClient
236236
.getSearchClient()

0 commit comments

Comments
 (0)