{"action":"opened","issue":{"url":"https://api.github.com/repos/pantheon-systems/example-terminus-auto-update-script/issues/47","repository_url":"https://api.github.com/repos/pantheon-systems/example-terminus-auto-update-script","labels_url":"https://api.github.com/repos/pantheon-systems/example-terminus-auto-update-script/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/pantheon-systems/example-terminus-auto-update-script/issues/47/comments","events_url":"https://api.github.com/repos/pantheon-systems/example-terminus-auto-update-script/issues/47/events","html_url":"https://github.com/pantheon-systems/example-terminus-auto-update-script/issues/47","id":372167684,"node_id":"MDU6SXNzdWUzNzIxNjc2ODQ=","number":47,"title":"Add support for Bitbucket","user":{"login":"davidneedham","id":1323278,"node_id":"MDQ6VXNlcjEzMjMyNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/1323278?v=4","gravatar_id":"","url":"https://api.github.com/users/davidneedham","html_url":"https://github.com/davidneedham","followers_url":"https://api.github.com/users/davidneedham/followers","following_url":"https://api.github.com/users/davidneedham/following{/other_user}","gists_url":"https://api.github.com/users/davidneedham/gists{/gist_id}","starred_url":"https://api.github.com/users/davidneedham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidneedham/subscriptions","organizations_url":"https://api.github.com/users/davidneedham/orgs","repos_url":"https://api.github.com/users/davidneedham/repos","events_url":"https://api.github.com/users/davidneedham/events{/privacy}","received_events_url":"https://api.github.com/users/davidneedham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-20T03:31:19Z","updated_at":"2018-10-20T03:31:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As it is, the code example expects GitHub. I swapped out places where `https://circleci.com/api/v1.1/project/github/...` with `https://circleci.com/api/v1.1/project/bitbucket/`, crossed my fingers, and everything seems to have worked.\r\n\r\nIs there a Circle environment variable or something we can use to say where it's coming from? Or is there a way to et Circle detect it automatically?"}}
{"actor":{"display_login":"davidneedham"}}