From 91e05282394c3ff8c1d0a5094a17d4b2e6f94be4 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 5 Nov 2016 10:39:49 +0100 Subject: [PATCH] FIX Custom fields not added to issue --- src/Issue/IssueService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Issue/IssueService.php b/src/Issue/IssueService.php index b3e5a31e..fdad9e51 100644 --- a/src/Issue/IssueService.php +++ b/src/Issue/IssueService.php @@ -290,7 +290,7 @@ public function search($jql, $startAt = 0, $maxResults = 15, $fields = []) ); foreach ($result->issues as $ndx => $issue_json) { - $result->getIssue($ndx)->addCustomFields($issue_json->fields); + $result->getIssue($ndx)->addCustomFields($json->issues[$ndx]->fields); } return $result;