From 54d6d50a17f153f5543f1d0d90b6436ef9b4296f Mon Sep 17 00:00:00 2001 From: Michael Benz Date: Thu, 14 Jul 2016 13:22:27 +0200 Subject: [PATCH] Fix Ticket 7623 getUser API CALL change in JIRA REST API --- third_party/fayp-jira-rest/Jira.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/fayp-jira-rest/Jira.php b/third_party/fayp-jira-rest/Jira.php index 8f7c03c221..24b6e46bde 100644 --- a/third_party/fayp-jira-rest/Jira.php +++ b/third_party/fayp-jira-rest/Jira.php @@ -89,11 +89,11 @@ public function testLogin() } /** - * + * https://docs.atlassian.com/jira/REST/latest/#api/2/user-getUser */ public function getUser($username) { - $this->request->openConnect($this->host . 'user/search/?username=' . $username, 'GET'); + $this->request->openConnect($this->host . 'user/?username=' . $username, 'GET'); $this->request->execute(); $user = json_decode($this->request->getResponseBody());