{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/2198","labels_url":"https://api.github.com/repos/alphagov/whitehall/issues/2198/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/whitehall/issues/2198/comments","events_url":"https://api.github.com/repos/alphagov/whitehall/issues/2198/events","html_url":"https://github.com/alphagov/whitehall/pull/2198","id":81516832,"number":2198,"title":"Infer programme to policy relationship","user":{"login":"tommyp","id":449004,"avatar_url":"https://avatars.githubusercontent.com/u/449004?v=3","gravatar_id":"","url":"https://api.github.com/users/tommyp","html_url":"https://github.com/tommyp","followers_url":"https://api.github.com/users/tommyp/followers","following_url":"https://api.github.com/users/tommyp/following{/other_user}","gists_url":"https://api.github.com/users/tommyp/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyp/subscriptions","organizations_url":"https://api.github.com/users/tommyp/orgs","repos_url":"https://api.github.com/users/tommyp/repos","events_url":"https://api.github.com/users/tommyp/events{/privacy}","received_events_url":"https://api.github.com/users/tommyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T16:14:33Z","updated_at":"2015-05-28T13:49:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/whitehall/pulls/2198","html_url":"https://github.com/alphagov/whitehall/pull/2198","diff_url":"https://github.com/alphagov/whitehall/pull/2198.diff","patch_url":"https://github.com/alphagov/whitehall/pull/2198.patch"},"body":"When publishing an Edition only tagged to a Programme/Child Policy, we want to also tag it to the Parent Policy when publishing to GOV.UK. This PR does this for both Rummager and the Publishing API by looking up the parent Policies through the links of the entry in the Content Register. As such, this work relies on https://github.com/alphagov/content-register/pull/21 being merged first. [Ticket](https://trello.com/c/dD6bkH5j/180-infer-programme-to-policy-relationship-when-tagging-editions)."},"comment":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/comments/106318446","html_url":"https://github.com/alphagov/whitehall/pull/2198#issuecomment-106318446","issue_url":"https://api.github.com/repos/alphagov/whitehall/issues/2198","id":106318446,"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-05-28T13:49:34Z","updated_at":"2015-05-28T13:49:34Z","body":"A couple of method-extraction suggestions for readability and also a query about the use of language - we should be using \"policy areas\" and not \"parent policies\" to match the terminology elsewhere. Otherwise looks good :+1: "}}