Skip to content

Commit ab8e050

Browse files
authored
Merge pull request lesstif#48 from probststefan/master
FIX Custom fields not added to issue
2 parents bec58be + 91e0528 commit ab8e050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Issue/IssueService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public function search($jql, $startAt = 0, $maxResults = 15, $fields = [])
290290
);
291291

292292
foreach ($result->issues as $ndx => $issue_json) {
293-
$result->getIssue($ndx)->addCustomFields($issue_json->fields);
293+
$result->getIssue($ndx)->addCustomFields($json->issues[$ndx]->fields);
294294
}
295295

296296
return $result;

0 commit comments

Comments
 (0)