{"action":"closed","number":134,"pull_request":{"url":"https://api.github.com/repos/alphagov/policy-publisher/pulls/134","id":69852180,"html_url":"https://github.com/alphagov/policy-publisher/pull/134","diff_url":"https://github.com/alphagov/policy-publisher/pull/134.diff","patch_url":"https://github.com/alphagov/policy-publisher/pull/134.patch","issue_url":"https://api.github.com/repos/alphagov/policy-publisher/issues/134","number":134,"state":"closed","locked":false,"title":"Add `emphasised_organisations` to details","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"body":"This will be used to show some organisations higher in the list of publishing/owning organisations on the frontend.\r\n\r\nSee:\r\n\r\nhttps://github.com/alphagov/govuk-content-schemas#306\r\nhttps://github.com/alphagov/govuk-content-schemas#307\r\n\r\nAfter we've deployed this and migrated the frontend we're going to have to make a PR here to remove `lead_organisations`. At that point we should also refactor some of the code here. In particular the way the data flows from the form to publishing-api needs reworking. We already have a ticket in our backlog to do this (https://trello.com/c/OAXUsVM9/293-refactor-policy-publisher). ","created_at":"2016-05-12T15:00:29Z","updated_at":"2016-05-12T15:14:03Z","closed_at":"2016-05-12T15:14:03Z","merged_at":"2016-05-12T15:14:02Z","merge_commit_sha":"676956ce44075ba2495cb673bc39ae5b7ec933e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/policy-publisher/pulls/134/commits","review_comments_url":"https://api.github.com/repos/alphagov/policy-publisher/pulls/134/comments","review_comment_url":"https://api.github.com/repos/alphagov/policy-publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/policy-publisher/issues/134/comments","statuses_url":"https://api.github.com/repos/alphagov/policy-publisher/statuses/c040a09a576b5ffbf7faf8c5050fe84fdbd67824","head":{"label":"alphagov:send-emphasises-orgs","ref":"send-emphasises-orgs","sha":"c040a09a576b5ffbf7faf8c5050fe84fdbd67824","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":30296685,"name":"policy-publisher","full_name":"alphagov/policy-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/policy-publisher","description":"Create and manage policies and policy programmes","fork":false,"url":"https://api.github.com/repos/alphagov/policy-publisher","forks_url":"https://api.github.com/repos/alphagov/policy-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/policy-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/policy-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/policy-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/policy-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/policy-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/policy-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/policy-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/policy-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/policy-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/policy-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/policy-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/policy-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/policy-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/policy-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/policy-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/policy-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/policy-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/policy-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/policy-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/policy-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/policy-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/policy-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/policy-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/policy-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/policy-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/policy-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/policy-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/policy-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/policy-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/policy-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/policy-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/policy-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/policy-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/policy-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/policy-publisher/deployments","created_at":"2015-02-04T11:57:35Z","updated_at":"2016-01-12T09:47:55Z","pushed_at":"2016-05-12T15:14:02Z","git_url":"git://github.com/alphagov/policy-publisher.git","ssh_url":"git@github.com:alphagov/policy-publisher.git","clone_url":"https://github.com/alphagov/policy-publisher.git","svn_url":"https://github.com/alphagov/policy-publisher","homepage":"","size":653,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"07d75b2d07928a26742760e23c61f7a6669dfc54","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":30296685,"name":"policy-publisher","full_name":"alphagov/policy-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/policy-publisher","description":"Create and manage policies and policy programmes","fork":false,"url":"https://api.github.com/repos/alphagov/policy-publisher","forks_url":"https://api.github.com/repos/alphagov/policy-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/policy-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/policy-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/policy-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/policy-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/policy-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/policy-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/policy-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/policy-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/policy-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/policy-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/policy-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/policy-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/policy-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/policy-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/policy-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/policy-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/policy-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/policy-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/policy-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/policy-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/policy-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/policy-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/policy-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/policy-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/policy-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/policy-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/policy-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/policy-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/policy-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/policy-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/policy-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/policy-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/policy-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/policy-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/policy-publisher/deployments","created_at":"2015-02-04T11:57:35Z","updated_at":"2016-01-12T09:47:55Z","pushed_at":"2016-05-12T15:14:02Z","git_url":"git://github.com/alphagov/policy-publisher.git","ssh_url":"git@github.com:alphagov/policy-publisher.git","clone_url":"https://github.com/alphagov/policy-publisher.git","svn_url":"https://github.com/alphagov/policy-publisher","homepage":"","size":653,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/policy-publisher/pulls/134"},"html":{"href":"https://github.com/alphagov/policy-publisher/pull/134"},"issue":{"href":"https://api.github.com/repos/alphagov/policy-publisher/issues/134"},"comments":{"href":"https://api.github.com/repos/alphagov/policy-publisher/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/policy-publisher/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/policy-publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/policy-publisher/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/policy-publisher/statuses/c040a09a576b5ffbf7faf8c5050fe84fdbd67824"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jackscotti","id":5038475,"avatar_url":"https://avatars.githubusercontent.com/u/5038475?v=3","gravatar_id":"","url":"https://api.github.com/users/jackscotti","html_url":"https://github.com/jackscotti","followers_url":"https://api.github.com/users/jackscotti/followers","following_url":"https://api.github.com/users/jackscotti/following{/other_user}","gists_url":"https://api.github.com/users/jackscotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jackscotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackscotti/subscriptions","organizations_url":"https://api.github.com/users/jackscotti/orgs","repos_url":"https://api.github.com/users/jackscotti/repos","events_url":"https://api.github.com/users/jackscotti/events{/privacy}","received_events_url":"https://api.github.com/users/jackscotti/received_events","type":"User","site_admin":false},"comments":1,"review_comments":4,"commits":2,"additions":23,"deletions":0,"changed_files":3}}