{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/2","repository_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin","labels_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/2/comments","events_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/2/events","html_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/2","id":150003545,"number":2,"title":"[FIXED JENKINS-34365] Not able to resolve hash of the revision","user":{"login":"fbelzunc","id":3898648,"avatar_url":"https://avatars.githubusercontent.com/u/3898648?v=3","gravatar_id":"","url":"https://api.github.com/users/fbelzunc","html_url":"https://github.com/fbelzunc","followers_url":"https://api.github.com/users/fbelzunc/followers","following_url":"https://api.github.com/users/fbelzunc/following{/other_user}","gists_url":"https://api.github.com/users/fbelzunc/gists{/gist_id}","starred_url":"https://api.github.com/users/fbelzunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbelzunc/subscriptions","organizations_url":"https://api.github.com/users/fbelzunc/orgs","repos_url":"https://api.github.com/users/fbelzunc/repos","events_url":"https://api.github.com/users/fbelzunc/events{/privacy}","received_events_url":"https://api.github.com/users/fbelzunc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T08:30:13Z","updated_at":"2016-04-21T08:45:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/2","html_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/2","diff_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/2.diff","patch_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/2.patch"},"body":"`revision.getHash()` is null when using v3.x.x of the server\r\n\r\nThe following stacktrace happens in this case:\r\n\r\n```\r\nStarted by user xxxxx (xxxx) \r\njava.lang.NullPointerException \r\nat org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:231) \r\nat jenkins.plugins.git.AbstractGitSCMSource$SpecificRevisionBuildChooser.<init>(AbstractGitSCMSource.java:388) \r\nat com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.build(BitbucketSCMSource.java:411) \r\nat org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:80) \r\nat org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:206) \r\nat hudson.model.ResourceController.execute(ResourceController.java:98) \r\nat hudson.model.Executor.run(Executor.java:410) \r\nFinished: FAILURE \r\n```\r\n\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-34365\r\n\r\n@reviewbybees esp @amuniz @escoem"},"comment":{"url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/comments/212815281","html_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/2#issuecomment-212815281","issue_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/2","id":212815281,"user":{"login":"fbelzunc","id":3898648,"avatar_url":"https://avatars.githubusercontent.com/u/3898648?v=3","gravatar_id":"","url":"https://api.github.com/users/fbelzunc","html_url":"https://github.com/fbelzunc","followers_url":"https://api.github.com/users/fbelzunc/followers","following_url":"https://api.github.com/users/fbelzunc/following{/other_user}","gists_url":"https://api.github.com/users/fbelzunc/gists{/gist_id}","starred_url":"https://api.github.com/users/fbelzunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbelzunc/subscriptions","organizations_url":"https://api.github.com/users/fbelzunc/orgs","repos_url":"https://api.github.com/users/fbelzunc/repos","events_url":"https://api.github.com/users/fbelzunc/events{/privacy}","received_events_url":"https://api.github.com/users/fbelzunc/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T08:45:20Z","updated_at":"2016-04-21T08:45:20Z","body":"@recena Regarding the generic message, I personally like the last part because people might now right away what is happening. Otherwise, the message is not meaningful."}}