{"action":"created","issue":{"url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/27","repository_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin","labels_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/27/comments","events_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/27/events","html_url":"https://github.com/christiangalsterer/stash-filehooks-plugin/issues/27","id":234676674,"number":27,"title":"File hook plugin prevents new local branches to be pushed to the remote","user":{"login":"syee514","id":22503034,"avatar_url":"https://avatars0.githubusercontent.com/u/22503034?v=3","gravatar_id":"","url":"https://api.github.com/users/syee514","html_url":"https://github.com/syee514","followers_url":"https://api.github.com/users/syee514/followers","following_url":"https://api.github.com/users/syee514/following{/other_user}","gists_url":"https://api.github.com/users/syee514/gists{/gist_id}","starred_url":"https://api.github.com/users/syee514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syee514/subscriptions","organizations_url":"https://api.github.com/users/syee514/orgs","repos_url":"https://api.github.com/users/syee514/repos","events_url":"https://api.github.com/users/syee514/events{/privacy}","received_events_url":"https://api.github.com/users/syee514/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-08T22:45:09Z","updated_at":"2017-06-09T01:12:32Z","closed_at":null,"body":"Hello,\r\n\r\nThe File Hooks Plugin version 3.0 is preventing new local branches to be pushed to the remote if the file name and/or file size hook are enabled:\r\n\r\ngit push -u origin feature/syee_local_branch_test\r\nTotal 0 (delta 0), reused 0 (delta 0)\r\nremote: Communication breakdown with Bitbucket.\r\nTo ssh://dev-bitbucket/test/syee_test_repo_3.git\r\n ! [remote rejected] feature/syee_local_branch_test -> feature/syee_local_branch_test (pre-receive hook declined)\r\nerror: failed to push some refs to 'ssh://git@dev-bitbucket/test/syee_test_repo_3.git'\r\n\r\nIf the File Name and File Size Hooks are disabled, the push succeeds:\r\n\r\ngit push -u origin feature/syee_local_branch_test\r\nTotal 0 (delta 0), reused 0 (delta 0)\r\nremote:\r\nremote: Create pull request for feature/syee_local_branch_test:\r\n\\<cut\\>\r\n\r\nSylvia\r\n"},"comment":{"url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/comments/307268350","html_url":"https://github.com/christiangalsterer/stash-filehooks-plugin/issues/27#issuecomment-307268350","issue_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/27","id":307268350,"user":{"login":"christiangalsterer","id":4999431,"avatar_url":"https://avatars1.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},"created_at":"2017-06-09T01:12:32Z","updated_at":"2017-06-09T01:12:32Z","body":"Can you please share the configuration of the hook and also the relevant parts of the Bitbucket log file.\r\nWhich version of BB are you using?\r\n\r\nDoes the new commit contain changes which match the hook configuration or have you just created a new branch but without actual changes, but where a previous commit would match the configuration? In the latter case this might be than the same as #1. "}}
{"actor":{"display_login":"christiangalsterer"}}