{"action":"opened","issue":{"url":"https://api.github.com/repos/nemccarthy/stash-pullrequest-builder-plugin/issues/4","labels_url":"https://api.github.com/repos/nemccarthy/stash-pullrequest-builder-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nemccarthy/stash-pullrequest-builder-plugin/issues/4/comments","events_url":"https://api.github.com/repos/nemccarthy/stash-pullrequest-builder-plugin/issues/4/events","html_url":"https://github.com/nemccarthy/stash-pullrequest-builder-plugin/issues/4","id":65293144,"number":4,"title":"Trigger build only if Git target branch to merge matches target branch in PR","user":{"login":"christiangalsterer","id":4999431,"avatar_url":"https://avatars.githubusercontent.com/u/4999431?v=3","gravatar_id":"","url":"https://api.github.com/users/christiangalsterer","html_url":"https://github.com/christiangalsterer","followers_url":"https://api.github.com/users/christiangalsterer/followers","following_url":"https://api.github.com/users/christiangalsterer/following{/other_user}","gists_url":"https://api.github.com/users/christiangalsterer/gists{/gist_id}","starred_url":"https://api.github.com/users/christiangalsterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiangalsterer/subscriptions","organizations_url":"https://api.github.com/users/christiangalsterer/orgs","repos_url":"https://api.github.com/users/christiangalsterer/repos","events_url":"https://api.github.com/users/christiangalsterer/events{/privacy}","received_events_url":"https://api.github.com/users/christiangalsterer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T20:17:06Z","updated_at":"2015-03-30T20:17:06Z","closed_at":null,"body":"It would be great if the plugin could only trigger the build if in the Git configuration the \"Merge before build\" feature is enabled and the target branch matches the PR target branch. There is a detailed discussion in https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/83#issuecomment-54965939 and https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/83#issuecomment-56066717 about the reasonings and use cases behind this request. "}}