{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4301","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4301/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4301/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4301/events","html_url":"https://github.com/fastlane/fastlane/issues/4301","id":150085535,"number":4301,"title":"team_id does not automatically select correct team when provisioning in iTunes Connect","user":{"login":"ssteinerx","id":43063,"avatar_url":"https://avatars.githubusercontent.com/u/43063?v=3","gravatar_id":"","url":"https://api.github.com/users/ssteinerx","html_url":"https://github.com/ssteinerx","followers_url":"https://api.github.com/users/ssteinerx/followers","following_url":"https://api.github.com/users/ssteinerx/following{/other_user}","gists_url":"https://api.github.com/users/ssteinerx/gists{/gist_id}","starred_url":"https://api.github.com/users/ssteinerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssteinerx/subscriptions","organizations_url":"https://api.github.com/users/ssteinerx/orgs","repos_url":"https://api.github.com/users/ssteinerx/repos","events_url":"https://api.github.com/users/ssteinerx/events{/privacy}","received_events_url":"https://api.github.com/users/ssteinerx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/deliver","name":"deliver","color":"e11d21"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/fastlane","name":"fastlane","color":"CCCCCC"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/todo-docs","name":"todo-docs","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2016-04-21T14:08:50Z","updated_at":"2016-09-13T19:06:55Z","closed_at":null,"body":"### Issue Description\r\n\r\nMy Apple ID belongs to two teams.  I have specified the team_id I wish to use in my Appfile.  It seems that there is no matching between the team_id and the iTunes Connect access corresponding to the team.\r\n\r\nI searched for some way to indicate the correct iTunes Connect id (which is different from the team_id), but did not find one.\r\n\r\n##### Unexpected output when running fastlane\r\n\r\n```\r\nConfusingly, I got this prompt even though I specified a team_id in my Appfile:\r\n\r\nMultiple iTunes Connect teams found, please enter the number of the team you want to use:\r\n\r\n1) \"xxxxx\" (2*******)\r\n2) \"yyyyy\" (1******)\r\n```\r\n\r\n### Configuration Files\r\n\r\nFastfile is copied directly from doc, only using :provision for the moment; there is one team_id specified  in the Appfile and I'm not doing anything fancy.\r\n\r\n### Environment\r\nfastlane 1.81.0\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\r\n\r\nNO\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\r\nNO\r\n\r\nSystem ruby: ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]\r\n\r\nAll gems up to date."},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/246789977","html_url":"https://github.com/fastlane/fastlane/issues/4301#issuecomment-246789977","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/4301","id":246789977,"user":{"login":"TKBurner","id":1987108,"avatar_url":"https://avatars.githubusercontent.com/u/1987108?v=3","gravatar_id":"","url":"https://api.github.com/users/TKBurner","html_url":"https://github.com/TKBurner","followers_url":"https://api.github.com/users/TKBurner/followers","following_url":"https://api.github.com/users/TKBurner/following{/other_user}","gists_url":"https://api.github.com/users/TKBurner/gists{/gist_id}","starred_url":"https://api.github.com/users/TKBurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TKBurner/subscriptions","organizations_url":"https://api.github.com/users/TKBurner/orgs","repos_url":"https://api.github.com/users/TKBurner/repos","events_url":"https://api.github.com/users/TKBurner/events{/privacy}","received_events_url":"https://api.github.com/users/TKBurner/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T19:06:55Z","updated_at":"2016-09-13T19:06:55Z","body":"@Douvi @i-schuetz Thanks so much for working with us on this. I've circled back with the core team. Thanks!"}}
{"actor":{"display_login":"TKBurner"}}