{"action":"created","issue":{"url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/265","repository_url":"https://api.github.com/repos/feedhenry/fh-fhc","labels_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/265/comments","events_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/265/events","html_url":"https://github.com/feedhenry/fh-fhc/pull/265","id":188712654,"number":265,"title":"FH 2850 - Team assignment on creation of user","user":{"login":"davidffrench","id":1596014,"avatar_url":"https://avatars.githubusercontent.com/u/1596014?v=3","gravatar_id":"","url":"https://api.github.com/users/davidffrench","html_url":"https://github.com/davidffrench","followers_url":"https://api.github.com/users/davidffrench/followers","following_url":"https://api.github.com/users/davidffrench/following{/other_user}","gists_url":"https://api.github.com/users/davidffrench/gists{/gist_id}","starred_url":"https://api.github.com/users/davidffrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidffrench/subscriptions","organizations_url":"https://api.github.com/users/davidffrench/orgs","repos_url":"https://api.github.com/users/davidffrench/repos","events_url":"https://api.github.com/users/davidffrench/events{/privacy}","received_events_url":"https://api.github.com/users/davidffrench/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"david-martin","id":878251,"avatar_url":"https://avatars.githubusercontent.com/u/878251?v=3","gravatar_id":"","url":"https://api.github.com/users/david-martin","html_url":"https://github.com/david-martin","followers_url":"https://api.github.com/users/david-martin/followers","following_url":"https://api.github.com/users/david-martin/following{/other_user}","gists_url":"https://api.github.com/users/david-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/david-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-martin/subscriptions","organizations_url":"https://api.github.com/users/david-martin/orgs","repos_url":"https://api.github.com/users/david-martin/repos","events_url":"https://api.github.com/users/david-martin/events{/privacy}","received_events_url":"https://api.github.com/users/david-martin/received_events","type":"User","site_admin":false},"assignees":[{"login":"david-martin","id":878251,"avatar_url":"https://avatars.githubusercontent.com/u/878251?v=3","gravatar_id":"","url":"https://api.github.com/users/david-martin","html_url":"https://github.com/david-martin","followers_url":"https://api.github.com/users/david-martin/followers","following_url":"https://api.github.com/users/david-martin/following{/other_user}","gists_url":"https://api.github.com/users/david-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/david-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-martin/subscriptions","organizations_url":"https://api.github.com/users/david-martin/orgs","repos_url":"https://api.github.com/users/david-martin/repos","events_url":"https://api.github.com/users/david-martin/events{/privacy}","received_events_url":"https://api.github.com/users/david-martin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-11T08:52:51Z","updated_at":"2016-11-11T10:05:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/feedhenry/fh-fhc/pulls/265","html_url":"https://github.com/feedhenry/fh-fhc/pull/265","diff_url":"https://github.com/feedhenry/fh-fhc/pull/265.diff","patch_url":"https://github.com/feedhenry/fh-fhc/pull/265.patch"},"body":"**JIRA:** https://issues.jboss.org/browse/FH-2850\r\n\r\nThis will allow a comma separated list of team ids when creating a new user e.g. `fhc admin-users create username=testuser email=testuser@test.com teams=5783b4d706bb371b0960eff9,5783b21b0fd0211e09f218e9`\r\n\r\n@david-martin A have a concern, is there any more documentation that needs to be modified for users to be aware of how to use this change."},"comment":{"url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/comments/259924142","html_url":"https://github.com/feedhenry/fh-fhc/pull/265#issuecomment-259924142","issue_url":"https://api.github.com/repos/feedhenry/fh-fhc/issues/265","id":259924142,"user":{"login":"david-martin","id":878251,"avatar_url":"https://avatars.githubusercontent.com/u/878251?v=3","gravatar_id":"","url":"https://api.github.com/users/david-martin","html_url":"https://github.com/david-martin","followers_url":"https://api.github.com/users/david-martin/followers","following_url":"https://api.github.com/users/david-martin/following{/other_user}","gists_url":"https://api.github.com/users/david-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/david-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-martin/subscriptions","organizations_url":"https://api.github.com/users/david-martin/orgs","repos_url":"https://api.github.com/users/david-martin/repos","events_url":"https://api.github.com/users/david-martin/events{/privacy}","received_events_url":"https://api.github.com/users/david-martin/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T10:05:39Z","updated_at":"2016-11-11T10:05:39Z","body":"@davidffrench Verified this change locally. We can merge this if buidl passes.\r\nre: documentation, i think the inline help in fhc will suffice for this kind of change?\r\n\r\n```bash\r\nfhc admin-users create username=test1@example.com password=Password1 email=test1@example.com name=\"Test 1\" teams=54c796d1f8e3c9c81d88d5c3,54c796d1f8e3c9c81d88d5c1\r\n{\r\n  \"status\": \"ok\",\r\n  \"username\": \"test1@example.com\"\r\n}\r\n```\r\n![teams](https://cloud.githubusercontent.com/assets/878251/20211406/50fa6172-a7f6-11e6-9d79-7a2f80548523.png)\r\n"}}
{"actor":{"display_login":"david-martin"}}