{"action":"opened","issue":{"url":"https://api.github.com/repos/jenkinsci/generic-webhook-trigger-plugin/issues/71","repository_url":"https://api.github.com/repos/jenkinsci/generic-webhook-trigger-plugin","labels_url":"https://api.github.com/repos/jenkinsci/generic-webhook-trigger-plugin/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/generic-webhook-trigger-plugin/issues/71/comments","events_url":"https://api.github.com/repos/jenkinsci/generic-webhook-trigger-plugin/issues/71/events","html_url":"https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/71","id":353694159,"node_id":"MDU6SXNzdWUzNTM2OTQxNTk=","number":71,"title":"Workflow for getting the job status (can we do blocking request?)","user":{"login":"grzegorznowak","id":617275,"node_id":"MDQ6VXNlcjYxNzI3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/617275?v=4","gravatar_id":"","url":"https://api.github.com/users/grzegorznowak","html_url":"https://github.com/grzegorznowak","followers_url":"https://api.github.com/users/grzegorznowak/followers","following_url":"https://api.github.com/users/grzegorznowak/following{/other_user}","gists_url":"https://api.github.com/users/grzegorznowak/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorznowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorznowak/subscriptions","organizations_url":"https://api.github.com/users/grzegorznowak/orgs","repos_url":"https://api.github.com/users/grzegorznowak/repos","events_url":"https://api.github.com/users/grzegorznowak/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorznowak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T08:36:38Z","updated_at":"2018-08-24T08:36:38Z","closed_at":null,"author_association":"NONE","body":"Hey, g'day man,\r\n\r\nmy question is how would you go about receiving a status from a triggered job ? Can a request be made blocking somehow until  a job/pipeline has finished or would you use another API call to jenkins (and while we do get queued item's id in return it should be quite possible I guess, like queue/item/182263/) to pool for that information.\r\nI think having a convenience of making request blocking,m and at least getting back the build status, would be quite cool. Where should I be looking in codes in order to get a hook point for a PR if that feature is not there already ? Much appreciated."}}
{"actor":{"display_login":"grzegorznowak"}}