Skip to content

Commit

Permalink
Merge pull request #48 from probststefan/master
Browse files Browse the repository at this point in the history
FIX Custom fields not added to issue
  • Loading branch information
lesstif authored Nov 6, 2016
2 parents bec58be + 91e0528 commit ab8e050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Issue/IssueService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab8e050

Please sign in to comment.