{"action":"opened","number":71,"pull_request":{"url":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/71","id":51373942,"html_url":"https://github.com/alphagov/service-manual-publisher/pull/71","diff_url":"https://github.com/alphagov/service-manual-publisher/pull/71.diff","patch_url":"https://github.com/alphagov/service-manual-publisher/pull/71.patch","issue_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/71","number":71,"state":"open","locked":false,"title":"Default to major update types for new drafts","user":{"login":"tadast","id":218239,"avatar_url":"https://avatars.githubusercontent.com/u/218239?v=3","gravatar_id":"","url":"https://api.github.com/users/tadast","html_url":"https://github.com/tadast","followers_url":"https://api.github.com/users/tadast/followers","following_url":"https://api.github.com/users/tadast/following{/other_user}","gists_url":"https://api.github.com/users/tadast/gists{/gist_id}","starred_url":"https://api.github.com/users/tadast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadast/subscriptions","organizations_url":"https://api.github.com/users/tadast/orgs","repos_url":"https://api.github.com/users/tadast/repos","events_url":"https://api.github.com/users/tadast/events{/privacy}","received_events_url":"https://api.github.com/users/tadast/received_events","type":"User","site_admin":false},"body":"When a new draft of a published edition is created, default to update_type\r\n'major', then after saving respect what the user has chosen when first saving\r\nthe draft.\r\n\r\nWe want to encourage users to provide change notes for each change.\r\n\r\nSome feature specs broke due to the new default, because major updates require\r\na change note to be present.","created_at":"2015-11-20T16:03:19Z","updated_at":"2015-11-20T16:03:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/71/commits","review_comments_url":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/71/comments","review_comment_url":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/71/comments","statuses_url":"https://api.github.com/repos/alphagov/service-manual-publisher/statuses/5e0afaa7dd5c935dfaec703ed422fbaa850df404","head":{"label":"alphagov:default_to_major","ref":"default_to_major","sha":"5e0afaa7dd5c935dfaec703ed422fbaa850df404","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":43757023,"name":"service-manual-publisher","full_name":"alphagov/service-manual-publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/service-manual-publisher","description":"Create and manage content for the service manual","fork":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher","forks_url":"https://api.github.com/repos/alphagov/service-manual-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/service-manual-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/service-manual-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/service-manual-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/service-manual-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/service-manual-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/service-manual-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/service-manual-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/service-manual-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/service-manual-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/service-manual-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/service-manual-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/service-manual-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/service-manual-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/service-manual-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/service-manual-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/service-manual-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/service-manual-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/service-manual-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/service-manual-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/service-manual-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/service-manual-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/service-manual-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/service-manual-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/service-manual-publisher/releases{/id}","created_at":"2015-10-06T14:45:26Z","updated_at":"2015-10-06T14:51:06Z","pushed_at":"2015-11-20T16:03:19Z","git_url":"git://github.com/alphagov/service-manual-publisher.git","ssh_url":"git@github.com:alphagov/service-manual-publisher.git","clone_url":"https://github.com/alphagov/service-manual-publisher.git","svn_url":"https://github.com/alphagov/service-manual-publisher","homepage":null,"size":411,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"e65b95c91cd742ed0fcf963cab7e127910d0da08","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":43757023,"name":"service-manual-publisher","full_name":"alphagov/service-manual-publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/service-manual-publisher","description":"Create and manage content for the service manual","fork":false,"url":"https://api.github.com/repos/alphagov/service-manual-publisher","forks_url":"https://api.github.com/repos/alphagov/service-manual-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/service-manual-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/service-manual-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/service-manual-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/service-manual-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/service-manual-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/service-manual-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/service-manual-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/service-manual-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/service-manual-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/service-manual-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/service-manual-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/service-manual-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/service-manual-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/service-manual-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/service-manual-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/service-manual-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/service-manual-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/service-manual-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/service-manual-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/service-manual-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/service-manual-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/service-manual-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/service-manual-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/service-manual-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/service-manual-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/service-manual-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/service-manual-publisher/releases{/id}","created_at":"2015-10-06T14:45:26Z","updated_at":"2015-10-06T14:51:06Z","pushed_at":"2015-11-20T16:03:19Z","git_url":"git://github.com/alphagov/service-manual-publisher.git","ssh_url":"git@github.com:alphagov/service-manual-publisher.git","clone_url":"https://github.com/alphagov/service-manual-publisher.git","svn_url":"https://github.com/alphagov/service-manual-publisher","homepage":null,"size":411,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/71"},"html":{"href":"https://github.com/alphagov/service-manual-publisher/pull/71"},"issue":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/71"},"comments":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/service-manual-publisher/statuses/5e0afaa7dd5c935dfaec703ed422fbaa850df404"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":13,"changed_files":3}}