View Bitbucket Push and Pull Request on the plugin site for more information.
The new features introduced by Bitbucket push and pull request are:
- support of pull requests
- usage of Gson instead of net.sf.json.JSONObject (blacklisted starting from Jenkins 2.102+)
- Introduction of models and security improvements
- The official bitbucket plugin uses JSONObject, which was blacklisted by the JEP-200, causing now an exception UnsupportedOperationException: Refusing to marshal net.sf.json.JSONObject for security reasons (see: <https://github.com/jenkinsci/bitbucket-plugin/search?q=JSONObject&unscoped_q=JSONObject> )