{"action":"created","issue":{"url":"https://api.github.com/repos/monitorjbl/pr-harmony/issues/31","labels_url":"https://api.github.com/repos/monitorjbl/pr-harmony/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/monitorjbl/pr-harmony/issues/31/comments","events_url":"https://api.github.com/repos/monitorjbl/pr-harmony/issues/31/events","html_url":"https://github.com/monitorjbl/pr-harmony/issues/31","id":126453229,"number":31,"title":"Empty user list on creating PR","user":{"login":"bjmillar","id":15264683,"avatar_url":"https://avatars.githubusercontent.com/u/15264683?v=3","gravatar_id":"","url":"https://api.github.com/users/bjmillar","html_url":"https://github.com/bjmillar","followers_url":"https://api.github.com/users/bjmillar/followers","following_url":"https://api.github.com/users/bjmillar/following{/other_user}","gists_url":"https://api.github.com/users/bjmillar/gists{/gist_id}","starred_url":"https://api.github.com/users/bjmillar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjmillar/subscriptions","organizations_url":"https://api.github.com/users/bjmillar/orgs","repos_url":"https://api.github.com/users/bjmillar/repos","events_url":"https://api.github.com/users/bjmillar/events{/privacy}","received_events_url":"https://api.github.com/users/bjmillar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-01-13T16:10:13Z","updated_at":"2016-01-27T17:24:11Z","closed_at":null,"body":"We would really like to use this plugin but we are having some issues. Our setup:\r\n - Bitbucket Server v4.2.0\r\n - PR Harmony v2.1\r\n\r\nI have tried all combinations of project and repository settings for PR Harmony but no matter what, the reviewer list is empty when creating a PR. I have noted other similar issues (now fixed) as we have non-lowercase repositories and users in Bitbucket. Everything else works correctly, including the merge check for the required reviewers!\r\n\r\nSome things to note:\r\n- http://192.168.161.57:7990/rest/pr-harmony/1.0/users/aoc/aocom responds but with no users listed\r\n- http://192.168.161.57:7990/rest/pr-harmony/1.0/config/AOC/AOCOM repsonds with the correct configuration (the repository and project are all uppercase)\r\n- http://192.168.161.57:7990/rest/pr-harmony/1.0/config/AOC/aocom repsonds with the correct configuration\r\n- but http://192.168.161.57:7990/rest/pr-harmony/1.0/users/AOC/aocom responds with error 500 and a NPE.\r\n\r\nOn the PR create screen the browser log reports \"Fetching required users\" but not \"Loaded required users\".\r\n\r\nI tried with all sorts of combination of lowercase projects, repositories and users but to no avail.\r\n\r\nRegards,\r\nBarry.\r\n"},"comment":{"url":"https://api.github.com/repos/monitorjbl/pr-harmony/issues/comments/175755629","html_url":"https://github.com/monitorjbl/pr-harmony/issues/31#issuecomment-175755629","issue_url":"https://api.github.com/repos/monitorjbl/pr-harmony/issues/31","id":175755629,"user":{"login":"Wilfred","id":70800,"avatar_url":"https://avatars.githubusercontent.com/u/70800?v=3","gravatar_id":"","url":"https://api.github.com/users/Wilfred","html_url":"https://github.com/Wilfred","followers_url":"https://api.github.com/users/Wilfred/followers","following_url":"https://api.github.com/users/Wilfred/following{/other_user}","gists_url":"https://api.github.com/users/Wilfred/gists{/gist_id}","starred_url":"https://api.github.com/users/Wilfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wilfred/subscriptions","organizations_url":"https://api.github.com/users/Wilfred/orgs","repos_url":"https://api.github.com/users/Wilfred/repos","events_url":"https://api.github.com/users/Wilfred/events{/privacy}","received_events_url":"https://api.github.com/users/Wilfred/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T17:24:11Z","updated_at":"2016-01-27T17:24:11Z","body":"OK, I suspect I can see the issue.\r\n\r\nc6160b4f5cd64d1c1ab60ac992102a760b7eabde made the following change:\r\n\r\n```diff\r\n-define('suggested-reviewers', [\r\n+define('pr-harmony-create', [\r\n```\r\n\r\nHowever, Atlassian's [suggest reviewers plugin defines a module of the same name](https://bitbucket.org/atlassian/stash-suggest-reviewers/src/55fe64031dac34aa6fb1e5a8a07f46c57db6730d/src/main/resources/js/suggest-reviewers.js?at=master&fileviewer=file-view-default). We have this plugin installed, so I think its JS is overriding pr-harmony's JS."}}