{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/government-frontend/issues/17","labels_url":"https://api.github.com/repos/alphagov/government-frontend/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/government-frontend/issues/17/comments","events_url":"https://api.github.com/repos/alphagov/government-frontend/issues/17/events","html_url":"https://github.com/alphagov/government-frontend/pull/17","id":56848768,"number":17,"title":"Display the \"part of\" metadata","user":{"login":"jamiecobbett","id":93739,"avatar_url":"https://avatars.githubusercontent.com/u/93739?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiecobbett","html_url":"https://github.com/jamiecobbett","followers_url":"https://api.github.com/users/jamiecobbett/followers","following_url":"https://api.github.com/users/jamiecobbett/following{/other_user}","gists_url":"https://api.github.com/users/jamiecobbett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiecobbett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiecobbett/subscriptions","organizations_url":"https://api.github.com/users/jamiecobbett/orgs","repos_url":"https://api.github.com/users/jamiecobbett/repos","events_url":"https://api.github.com/users/jamiecobbett/events{/privacy}","received_events_url":"https://api.github.com/users/jamiecobbett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T18:29:10Z","updated_at":"2015-02-09T12:03:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/government-frontend/pulls/17","html_url":"https://github.com/alphagov/government-frontend/pull/17","diff_url":"https://github.com/alphagov/government-frontend/pull/17.diff","patch_url":"https://github.com/alphagov/government-frontend/pull/17.patch"},"body":"I based this upon the code which currently does it in Whitehall:\r\nhttps://github.com/alphagov/whitehall/blob/b1f827a2daa1df50cf69785af6827a621857e815/app/helpers/document_helper.rb#L205-L247\r\n\r\nNote that the code in Whitehall has many more fields in it, but these aren't\r\ncurrently sent to content-store. I think this may be based upon an assumption\r\nthat Case Studies only have the fields currently being sent to content-store.\r\n\r\nAre there any other \"part of\" fields which do in fact appear for Case Studies?\r\n\r\nNote: the tests are currently failing on an unrelated pre-existing failure that I think @danielroseman is working on."},"comment":{"url":"https://api.github.com/repos/alphagov/government-frontend/issues/comments/73498022","html_url":"https://github.com/alphagov/government-frontend/pull/17#issuecomment-73498022","issue_url":"https://api.github.com/repos/alphagov/government-frontend/issues/17","id":73498022,"user":{"login":"jamiecobbett","id":93739,"avatar_url":"https://avatars.githubusercontent.com/u/93739?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiecobbett","html_url":"https://github.com/jamiecobbett","followers_url":"https://api.github.com/users/jamiecobbett/followers","following_url":"https://api.github.com/users/jamiecobbett/following{/other_user}","gists_url":"https://api.github.com/users/jamiecobbett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiecobbett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiecobbett/subscriptions","organizations_url":"https://api.github.com/users/jamiecobbett/orgs","repos_url":"https://api.github.com/users/jamiecobbett/repos","events_url":"https://api.github.com/users/jamiecobbett/events{/privacy}","received_events_url":"https://api.github.com/users/jamiecobbett/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T12:03:25Z","updated_at":"2015-02-09T12:03:25Z","body":"The test failure is because government-frontend doesn't have support for the \"coming_soon\" format described in [govuk-content-schemas](https://github.com/alphagov/govuk-content-schemas/tree/master/formats) - it will do, but not yet. This same test is currently failing on master: https://ci-new.alphagov.co.uk/view/Publishing/job/govuk_government_frontend/25/console"}}