We have run into a bug using the system hooks plugin, when creating branches via JIRA and trying to push them to the Bitbucket server 5.3.2.
Anybody knows about this problem?
\
It is like this
https://community.atlassian.com/t5/Product-Apps-discussions/Unable-to-push-branch-created-locally-when-File-Hooks-plugin-is/td-p/612681
If I Understand coorrect, it is similar problem.
This condition is helped me.:)
if (refChange.getFromHash().equals("0000000000000000000000000000000000000000")) { request = new CommitsBetweenRequest.Builder(repository) .include(refChange.getToHash()) .build();} else { request = new CommitsBetweenRequest.Builder(repositoryHookRequest.getRepository()) .exclude(refChange.getFromHash()) .include(refChange.getToHash()) .build();}
It looks like you're new here. Sign in or register to get started.