{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/79","labels_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/79/comments","events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/79/events","html_url":"https://github.com/jenkinsci/ghprb-plugin/issues/79","id":70456469,"number":79,"title":"Allow customisation of 'Details' destination in Github status","user":{"login":"Igorshp","id":3381045,"avatar_url":"https://avatars.githubusercontent.com/u/3381045?v=3","gravatar_id":"","url":"https://api.github.com/users/Igorshp","html_url":"https://github.com/Igorshp","followers_url":"https://api.github.com/users/Igorshp/followers","following_url":"https://api.github.com/users/Igorshp/following{/other_user}","gists_url":"https://api.github.com/users/Igorshp/gists{/gist_id}","starred_url":"https://api.github.com/users/Igorshp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igorshp/subscriptions","organizations_url":"https://api.github.com/users/Igorshp/orgs","repos_url":"https://api.github.com/users/Igorshp/repos","events_url":"https://api.github.com/users/Igorshp/events{/privacy}","received_events_url":"https://api.github.com/users/Igorshp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T16:34:04Z","updated_at":"2015-04-23T16:39:51Z","closed_at":null,"body":"Currently the plugin updates the PullRequest status with link to the specific job (the 'Details' button on the right).\r\n![githubstatus]\r\n(http://i.imgur.com/oMP15FG.png)\r\nMost of the time, when a job fails, the user will want to go to console to find out the reason and with current setup that requires 2 clicks, 2 page loads.\r\n\r\nI believe the workflow can be simplified by allowing the endpoint destination to be changed in global config depending on job result status.\r\n\r\nfor example:\r\njob created - link to job\r\njob succeeded - link to job\r\njob failed - link to console\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/comments/95649403","html_url":"https://github.com/jenkinsci/ghprb-plugin/issues/79#issuecomment-95649403","issue_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/79","id":95649403,"user":{"login":"Igorshp","id":3381045,"avatar_url":"https://avatars.githubusercontent.com/u/3381045?v=3","gravatar_id":"","url":"https://api.github.com/users/Igorshp","html_url":"https://github.com/Igorshp","followers_url":"https://api.github.com/users/Igorshp/followers","following_url":"https://api.github.com/users/Igorshp/following{/other_user}","gists_url":"https://api.github.com/users/Igorshp/gists{/gist_id}","starred_url":"https://api.github.com/users/Igorshp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igorshp/subscriptions","organizations_url":"https://api.github.com/users/Igorshp/orgs","repos_url":"https://api.github.com/users/Igorshp/repos","events_url":"https://api.github.com/users/Igorshp/events{/privacy}","received_events_url":"https://api.github.com/users/Igorshp/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T16:39:51Z","updated_at":"2015-04-23T16:39:51Z","body":"@KostyaSha any chance you could link to some examples of configurations/plugins/setups/best_practices on setting up the buildpage"}}