Details
-
Bug
-
Status: Done
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
Sprint 50
-
0
Description
commitCallback binding variable used in scripted Pre Hook and Post Hook incorrectly defined as of type com.atlassian.bitbucket.commit.CommitCallback in the static type checker.
Actually it's used as argument for hookContext.registerCommitCallback, which expects instance of com.atlassian.bitbucket.hook.repository.RepositoryHookCommitCallback.