{"action":"created","issue":{"url":"https://api.github.com/repos/uktrade/data-hub-frontend/issues/2217","repository_url":"https://api.github.com/repos/uktrade/data-hub-frontend","labels_url":"https://api.github.com/repos/uktrade/data-hub-frontend/issues/2217/labels{/name}","comments_url":"https://api.github.com/repos/uktrade/data-hub-frontend/issues/2217/comments","events_url":"https://api.github.com/repos/uktrade/data-hub-frontend/issues/2217/events","html_url":"https://github.com/uktrade/data-hub-frontend/pull/2217","id":513886700,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMzNTkwNzcy","number":2217,"title":"WIP - Users can add themselves as a Lead Adviser on a company page","user":{"login":"ian-leggett","id":10154302,"node_id":"MDQ6VXNlcjEwMTU0MzAy","avatar_url":"https://avatars1.githubusercontent.com/u/10154302?v=4","gravatar_id":"","url":"https://api.github.com/users/ian-leggett","html_url":"https://github.com/ian-leggett","followers_url":"https://api.github.com/users/ian-leggett/followers","following_url":"https://api.github.com/users/ian-leggett/following{/other_user}","gists_url":"https://api.github.com/users/ian-leggett/gists{/gist_id}","starred_url":"https://api.github.com/users/ian-leggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ian-leggett/subscriptions","organizations_url":"https://api.github.com/users/ian-leggett/orgs","repos_url":"https://api.github.com/users/ian-leggett/repos","events_url":"https://api.github.com/users/ian-leggett/events{/privacy}","received_events_url":"https://api.github.com/users/ian-leggett/received_events","type":"User","site_admin":false},"labels":[{"id":605354223,"node_id":"MDU6TGFiZWw2MDUzNTQyMjM=","url":"https://api.github.com/repos/uktrade/data-hub-frontend/labels/WIP","name":"WIP","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-29T12:36:38Z","updated_at":"2019-10-29T12:45:07Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/uktrade/data-hub-frontend/pulls/2217","html_url":"https://github.com/uktrade/data-hub-frontend/pull/2217","diff_url":"https://github.com/uktrade/data-hub-frontend/pull/2217.diff","patch_url":"https://github.com/uktrade/data-hub-frontend/pull/2217.patch"},"body":"## Description of change\r\n\r\nThis is the first stage of being able to add yourself as a Lead ITA/Lead Adviser - https://trello.com/c/gaTtFM4R/969-state-1-on-new-tab\r\n\r\nProviding you have permissions you should be able to see a \"Lead Advisers\" tab on a One List company which falls in the tier - **Tier D International Adviser Trade Accounts** You may need to choose a One List company and change the tier via Django. If the company is in the One List but does not fall into the Tier D list you will see the original \"Core Team\" tab. For all other companies you will not see the \"Core Team\" or the \"Lead Advisers\" tab.\r\n\r\n## One List (non Tier D)\r\n![Screenshot 2019-10-29 at 12 26 21](https://user-images.githubusercontent.com/10154302/67767401-6de7ae00-fa48-11e9-8d21-e6dda12f4069.png)\r\n\r\n## One List (Tier D)\r\n![Screenshot 2019-10-29 at 12 27 37](https://user-images.githubusercontent.com/10154302/67767431-7b9d3380-fa48-11e9-9bb6-d81e552124ff.png)\r\n\r\n\r\n\r\n## Checklist\r\n\r\n[//]: # \"When submitting a PR make sure the code review guidelines have been satisfied. \r\nhttps://github.com/uktrade/data-hub-frontend/blob/develop/docs/Code%20review%20guidelines.md\"\r\n\r\n- [ ] Has the branch been rebased to develop?\r\n- [ ] Automated tests (Any of the following when applicable: Unit, Functional or Acceptance)\r\n- [ ] Manual compatibility testing (Browsers: Chrome, Firefox, IE11, Safari)\r\n"},"comment":{"url":"https://api.github.com/repos/uktrade/data-hub-frontend/issues/comments/547401531","html_url":"https://github.com/uktrade/data-hub-frontend/pull/2217#issuecomment-547401531","issue_url":"https://api.github.com/repos/uktrade/data-hub-frontend/issues/2217","id":547401531,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NzQwMTUzMQ==","user":{"login":"lgtm-com[bot]","id":43144390,"node_id":"MDM6Qm90NDMxNDQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/in/17324?v=4","gravatar_id":"","url":"https://api.github.com/users/lgtm-com%5Bbot%5D","html_url":"https://github.com/apps/lgtm-com","followers_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/followers","following_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/repos","events_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lgtm-com%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-10-29T12:45:07Z","updated_at":"2019-10-29T12:45:07Z","author_association":"NONE","body":"This pull request **introduces 1 alert** when merging aa1fe3a9fa01fe346182d98ef694b1ded87e7790 into dcdac448908def8388b7b665c15ffc6f173429ab - [view on LGTM.com](https://lgtm.com/projects/g/uktrade/data-hub-frontend/rev/pr-eea8a043ec8c7dc83d4994c41554f0441e850d93)\n\n**new alerts:**\n\n* 1 for Superfluous trailing arguments"}}
{"actor":{"display_login":"lgtm-com"}}