{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/issues/74","repository_url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops","labels_url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/issues/74/comments","events_url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/issues/74/events","html_url":"https://github.com/microsoft/terraform-provider-azuredevops/issues/74","id":502811501,"node_id":"MDU6SXNzdWU1MDI4MTE1MDE=","number":74,"title":"Support AzDO Group Membership","user":{"login":"nmiodice","id":2497673,"node_id":"MDQ6VXNlcjI0OTc2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2497673?v=4","gravatar_id":"","url":"https://api.github.com/users/nmiodice","html_url":"https://github.com/nmiodice","followers_url":"https://api.github.com/users/nmiodice/followers","following_url":"https://api.github.com/users/nmiodice/following{/other_user}","gists_url":"https://api.github.com/users/nmiodice/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiodice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiodice/subscriptions","organizations_url":"https://api.github.com/users/nmiodice/orgs","repos_url":"https://api.github.com/users/nmiodice/repos","events_url":"https://api.github.com/users/nmiodice/events{/privacy}","received_events_url":"https://api.github.com/users/nmiodice/received_events","type":"User","site_admin":false},"labels":[{"id":1576411590,"node_id":"MDU6TGFiZWwxNTc2NDExNTkw","url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/labels/needs%20breakdown","name":"needs breakdown","color":"3e0877","default":false},{"id":1576411173,"node_id":"MDU6TGFiZWwxNTc2NDExMTcz","url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/labels/priority-high","name":"priority-high","color":"92a803","default":false},{"id":1589792562,"node_id":"MDU6TGFiZWwxNTg5NzkyNTYy","url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/labels/spike","name":"spike","color":"9c56ce","default":false}],"state":"open","locked":false,"assignee":{"login":"nmiodice","id":2497673,"node_id":"MDQ6VXNlcjI0OTc2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2497673?v=4","gravatar_id":"","url":"https://api.github.com/users/nmiodice","html_url":"https://github.com/nmiodice","followers_url":"https://api.github.com/users/nmiodice/followers","following_url":"https://api.github.com/users/nmiodice/following{/other_user}","gists_url":"https://api.github.com/users/nmiodice/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiodice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiodice/subscriptions","organizations_url":"https://api.github.com/users/nmiodice/orgs","repos_url":"https://api.github.com/users/nmiodice/repos","events_url":"https://api.github.com/users/nmiodice/events{/privacy}","received_events_url":"https://api.github.com/users/nmiodice/received_events","type":"User","site_admin":false},"assignees":[{"login":"nmiodice","id":2497673,"node_id":"MDQ6VXNlcjI0OTc2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2497673?v=4","gravatar_id":"","url":"https://api.github.com/users/nmiodice","html_url":"https://github.com/nmiodice","followers_url":"https://api.github.com/users/nmiodice/followers","following_url":"https://api.github.com/users/nmiodice/following{/other_user}","gists_url":"https://api.github.com/users/nmiodice/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiodice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiodice/subscriptions","organizations_url":"https://api.github.com/users/nmiodice/orgs","repos_url":"https://api.github.com/users/nmiodice/repos","events_url":"https://api.github.com/users/nmiodice/events{/privacy}","received_events_url":"https://api.github.com/users/nmiodice/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2019-10-04T19:41:00Z","updated_at":"2019-10-18T14:41:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As a maintainer of an AzDO organization and/or project, I want to have the ability to add users from my companies AD group and/or GitHub and add them to groups within the org/project. \r\n\r\nMore specifically, I want to support the following actions:\r\n - [x] Import and remove a user from AAD/GitHub to AzDO org - https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/users?view=azure-devops-rest-5.0\r\n - [x] Entitle and un-entitle user after they are in the AzDO org - https://docs.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/user%20entitlements/add?view=azure-devops-rest-5.0\r\n - [x] Assign and remove user to org and project groups https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships/add?view=azure-devops-rest-5.0\r\n - [x] Remove user from org projects/groups https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships/remove%20membership?view=azure-devops-rest-5.0\r\n\r\n\r\nThe acceptance criteria for this story are to design the implementation strategy and breakdown the user stories for implementation.\r\n\r\n - [ ] Review design\r\n - [ ] Write stories for design"},"comment":{"url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/issues/comments/543778231","html_url":"https://github.com/microsoft/terraform-provider-azuredevops/issues/74#issuecomment-543778231","issue_url":"https://api.github.com/repos/microsoft/terraform-provider-azuredevops/issues/74","id":543778231,"node_id":"MDEyOklzc3VlQ29tbWVudDU0Mzc3ODIzMQ==","user":{"login":"nmiodice","id":2497673,"node_id":"MDQ6VXNlcjI0OTc2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2497673?v=4","gravatar_id":"","url":"https://api.github.com/users/nmiodice","html_url":"https://github.com/nmiodice","followers_url":"https://api.github.com/users/nmiodice/followers","following_url":"https://api.github.com/users/nmiodice/following{/other_user}","gists_url":"https://api.github.com/users/nmiodice/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiodice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiodice/subscriptions","organizations_url":"https://api.github.com/users/nmiodice/orgs","repos_url":"https://api.github.com/users/nmiodice/repos","events_url":"https://api.github.com/users/nmiodice/events{/privacy}","received_events_url":"https://api.github.com/users/nmiodice/received_events","type":"User","site_admin":false},"created_at":"2019-10-18T14:41:28Z","updated_at":"2019-10-18T14:41:28Z","author_association":"CONTRIBUTOR","body":"@rguthriemsft Ill model the resource generically, but i'll model it slightly differently so that (1) the same data source can be used for orgs **once we deep dive into the right way** and (2) we can validate that its only used for project groups for now:\r\n```\r\n// outputs: id, descriptor\r\ndata \"azuredevops_group\" \"group\" {\r\n    // ex for Project Group: Release Administrators\r\n    // note: a change here forces a delete/create - update not supported\r\n    name = string, required\r\n\r\n    // Name of the project in which the group resides. Required for now, optional once org groups are supported\r\n    project_name = string, required\r\n}\r\n```"}}
{"actor":{"display_login":"nmiodice"}}