{"action":"opened","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/140","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/140/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/140/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/140","id":72942340,"number":140,"title":"Use jobId within the job","user":{"login":"ffarozan","id":6498639,"avatar_url":"https://avatars.githubusercontent.com/u/6498639?v=3","gravatar_id":"","url":"https://api.github.com/users/ffarozan","html_url":"https://github.com/ffarozan","followers_url":"https://api.github.com/users/ffarozan/followers","following_url":"https://api.github.com/users/ffarozan/following{/other_user}","gists_url":"https://api.github.com/users/ffarozan/gists{/gist_id}","starred_url":"https://api.github.com/users/ffarozan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffarozan/subscriptions","organizations_url":"https://api.github.com/users/ffarozan/orgs","repos_url":"https://api.github.com/users/ffarozan/repos","events_url":"https://api.github.com/users/ffarozan/events{/privacy}","received_events_url":"https://api.github.com/users/ffarozan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T07:19:54Z","updated_at":"2015-05-04T07:19:54Z","closed_at":null,"body":"In order for apps to persist the job result, the jobId should be known from within the job.\r\n\r\nJob itself can store the result by storing in some place of its choice - could be redis, s3, or via another API call, etc. But what must be needed is the job id. Job itself should know what its id is, so that can be used as a key"}}