{"action":"closed","issue":{"url":"https://api.github.com/repos/groupon/DotCi/issues/154","labels_url":"https://api.github.com/repos/groupon/DotCi/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/groupon/DotCi/issues/154/comments","events_url":"https://api.github.com/repos/groupon/DotCi/issues/154/events","html_url":"https://github.com/groupon/DotCi/issues/154","id":100377766,"number":154,"title":"If session is lost on job details page it spins forever","user":{"login":"ppg","id":60791,"avatar_url":"https://avatars.githubusercontent.com/u/60791?v=3","gravatar_id":"","url":"https://api.github.com/users/ppg","html_url":"https://github.com/ppg","followers_url":"https://api.github.com/users/ppg/followers","following_url":"https://api.github.com/users/ppg/following{/other_user}","gists_url":"https://api.github.com/users/ppg/gists{/gist_id}","starred_url":"https://api.github.com/users/ppg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppg/subscriptions","organizations_url":"https://api.github.com/users/ppg/orgs","repos_url":"https://api.github.com/users/ppg/repos","events_url":"https://api.github.com/users/ppg/events{/privacy}","received_events_url":"https://api.github.com/users/ppg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T18:40:37Z","updated_at":"2015-08-20T17:46:01Z","closed_at":"2015-08-20T17:46:01Z","body":"If you're logged out of Jenkins while you're on a job details page, perhaps looking at a run, and then you click somewhere else the AJAXy UI allows you to go there, but then the spinner shows forever since you're forbidden access. The JS should probably detect a 403 response and redirect to the login page (with the current page remembered too as a bonus).\r\n\r\nThere's possibly other failure cases on the spinner too, would be nice to get a generic error handler that at least stops the spinner and says something is wrong, so there's some sort of UI feedback."}}