| Hi Zhenlei Huang Upon your request: (dev is not in systems group) curl D -u user:pass -X GET "https://myjira.net/rest/usermanagement/1/group/user/direct?groupname=systems&username=dev" HTTP/1.1 404 Not Found Date: Thu, 14 Jun 2018 08:42:33 GMT Server: Apache Vary: Accept-Encoding Content-Length: 237 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /rest/usermanagement/1/group/user/direct was not found on this server.</p> </body></html> However, when user sys is in systems group: curl D -u user:pass -X GET "https://myjira.net/rest/usermanagement/1/group/user/direct?groupname=systems&username=sys" HTTP/1.1 200 200 Date: Thu, 14 Jun 2018 08:42:22 GMT Server: Apache X-AREQUESTID: 522x36860744x2 X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Content-Security-Policy: frame-ancestors 'self' X-Embedded-Crowd-Version: JIRA/7.6.1 X-Crowd-User-Management-Version: 1.4 X-ASEN: SEN-2075590 Set-Cookie: JSESSIONID=BLABLASESSION;path=/;Secure;HttpOnly Set-Cookie: atlassian.xsrf.token=BLABLATOKEN|lout;path=/;Secure X-ASESSIONID: 4ioxjr X-AUSERNAME: anonymous Cache-Control: no-cache, no-store, no-transform Content-Length: 182 Content-Type: application/xml;charset=UTF-8 As I said JIRA returns 404 instead of proper response. Thanks. |