{"action":"closed","issue":{"url":"https://api.github.com/repos/getsentry/sentry/issues/1910","labels_url":"https://api.github.com/repos/getsentry/sentry/issues/1910/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry/issues/1910/comments","events_url":"https://api.github.com/repos/getsentry/sentry/issues/1910/events","html_url":"https://github.com/getsentry/sentry/issues/1910","id":105257060,"number":1910,"title":"Create team not correctly generating unique slugs","user":{"login":"dcramer","id":23610,"avatar_url":"https://avatars.githubusercontent.com/u/23610?v=3","gravatar_id":"","url":"https://api.github.com/users/dcramer","html_url":"https://github.com/dcramer","followers_url":"https://api.github.com/users/dcramer/followers","following_url":"https://api.github.com/users/dcramer/following{/other_user}","gists_url":"https://api.github.com/users/dcramer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcramer/subscriptions","organizations_url":"https://api.github.com/users/dcramer/orgs","repos_url":"https://api.github.com/users/dcramer/repos","events_url":"https://api.github.com/users/dcramer/events{/privacy}","received_events_url":"https://api.github.com/users/dcramer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/getsentry/sentry/milestones/7","html_url":"https://github.com/getsentry/sentry/milestones/8.0%20Release","labels_url":"https://api.github.com/repos/getsentry/sentry/milestones/7/labels","id":1245829,"number":7,"title":"8.0 Release","description":"","creator":{"login":"dcramer","id":23610,"avatar_url":"https://avatars.githubusercontent.com/u/23610?v=3","gravatar_id":"","url":"https://api.github.com/users/dcramer","html_url":"https://github.com/dcramer","followers_url":"https://api.github.com/users/dcramer/followers","following_url":"https://api.github.com/users/dcramer/following{/other_user}","gists_url":"https://api.github.com/users/dcramer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcramer/subscriptions","organizations_url":"https://api.github.com/users/dcramer/orgs","repos_url":"https://api.github.com/users/dcramer/repos","events_url":"https://api.github.com/users/dcramer/events{/privacy}","received_events_url":"https://api.github.com/users/dcramer/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":102,"state":"open","created_at":"2015-08-07T17:20:52Z","updated_at":"2015-09-07T20:53:18Z","due_on":"2015-08-22T07:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-07T18:55:08Z","updated_at":"2015-09-07T20:53:18Z","closed_at":"2015-09-07T20:53:18Z","body":"https://beta.getsentry.com/sentry/sentry/group/80084213/\r\n\r\n```\r\nIntegrityError: duplicate key value violates unique constraint \"sentry_team_organization_id_1e0ece47434a2ed_uniq\"\r\nDETAIL:  Key (organization_id, slug)=(25238, team6) already exists.\r\n\r\nSQL: INSERT INTO \"sentry_team\" (\"organization_id\", \"slug\", \"name\", \"status\", \"date_added\") VALUES (%s, %s, %s, %s, %s) RETURNING \"sentry_team\".\"id\"\r\n(17 additional frame(s) were not displayed)\r\n...\r\n  File \"sentry/db/postgres/decorators.py\", line 73, in inner\r\n    return func(self, *args, **kwargs)\r\n  File \"sentry/db/postgres/decorators.py\", line 21, in inner\r\n    return func(self, *args, **kwargs)\r\n  File \"sentry/db/postgres/decorators.py\", line 95, in inner\r\n    six.reraise(exc_info[0], exc_info[0](msg), exc_info[2])\r\n  File \"sentry/db/postgres/decorators.py\", line 88, in inner\r\n    return func(self, sql, *args, **kwargs)\r\n  File \"sentry/db/postgres/base.py\", line 44, in execute\r\n    return self.cursor.execute(sql, params)\r\n```"}}