{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/2210","labels_url":"https://api.github.com/repos/alphagov/whitehall/issues/2210/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/whitehall/issues/2210/comments","events_url":"https://api.github.com/repos/alphagov/whitehall/issues/2210/events","html_url":"https://github.com/alphagov/whitehall/pull/2210","id":85103876,"number":2210,"title":"Migrate archived editions to be withdrawn","user":{"login":"edds","id":35035,"avatar_url":"https://avatars.githubusercontent.com/u/35035?v=3","gravatar_id":"","url":"https://api.github.com/users/edds","html_url":"https://github.com/edds","followers_url":"https://api.github.com/users/edds/followers","following_url":"https://api.github.com/users/edds/following{/other_user}","gists_url":"https://api.github.com/users/edds/gists{/gist_id}","starred_url":"https://api.github.com/users/edds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edds/subscriptions","organizations_url":"https://api.github.com/users/edds/orgs","repos_url":"https://api.github.com/users/edds/repos","events_url":"https://api.github.com/users/edds/events{/privacy}","received_events_url":"https://api.github.com/users/edds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-04T13:39:51Z","updated_at":"2015-06-10T09:05:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/whitehall/pulls/2210","html_url":"https://github.com/alphagov/whitehall/pull/2210","diff_url":"https://github.com/alphagov/whitehall/pull/2210.diff","patch_url":"https://github.com/alphagov/whitehall/pull/2210.patch"},"body":"Update the state of all archived editions to now be withdrawn. The code\r\nhas been updated everywhere to already handle archived or withdrawn\r\nand we want to delete archived eventually.\r\n\r\nThe pull request to change to withdrawing was: https://github.com/alphagov/whitehall/pull/2200"},"comment":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/comments/110662277","html_url":"https://github.com/alphagov/whitehall/pull/2210#issuecomment-110662277","issue_url":"https://api.github.com/repos/alphagov/whitehall/issues/2210","id":110662277,"user":{"login":"tekin","id":3687,"avatar_url":"https://avatars.githubusercontent.com/u/3687?v=3","gravatar_id":"","url":"https://api.github.com/users/tekin","html_url":"https://github.com/tekin","followers_url":"https://api.github.com/users/tekin/followers","following_url":"https://api.github.com/users/tekin/following{/other_user}","gists_url":"https://api.github.com/users/tekin/gists{/gist_id}","starred_url":"https://api.github.com/users/tekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekin/subscriptions","organizations_url":"https://api.github.com/users/tekin/orgs","repos_url":"https://api.github.com/users/tekin/repos","events_url":"https://api.github.com/users/tekin/events{/privacy}","received_events_url":"https://api.github.com/users/tekin/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T09:05:19Z","updated_at":"2015-06-10T09:05:19Z","body":"It's the other way around: migrations are run before the unicorns restart. Hence why https://github.com/alphagov/whitehall/pull/2200 updated the code to handle both states so that when the migration is run, the app should behave the same."}}