Changelog of Pull Request Notifier for Bitbucket.
- Allowing SSL certificates to be ignored.
- Adding settings to configure custom keystore.
- Add attribute for list of reviewers, reviewers' IDs and reviewers' names.
- Fixing PULL_REQUEST_URL-bug correctly with getSlug.
- Bugfix: Replacing spaces with dashes in ${PULL_REQUEST_URL}. Was evaluating to wrong URL if repo name included spaces.
- Processing events on Bitbucket Server's event threads.
- Url encoding evaluated values when they are used in URL invocations.
- New variables
- ${PULL_REQUEST_MERGE_COMMIT} Hash of merged commit (only available for merged-event).
- New variables
- ${PULL_REQUEST_REVIEWERS_APPROVED_COUNT} Number of reviewers that approved the PR.
- ${PULL_REQUEST_PARTICIPANTS_APPROVED_COUNT} Number of participants that approved the PR. These can be used to, for example, show a trigger button only if there are non-zero number of approvals.
- Bugfix: Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER was not reflected in GUI.
- Bugfix: Avoiding admin page to crash if entering quote as value of a field.
- The storage key was accidently changed when migrating to Bitbucket 4. This includes a fix that will load 1.x settings if they exist, and if no 2.x settings are available.
- Adding "Triggers do not apply to" option with values DECLINED and MERGED.
- Changing wording of trigger conditions in admin GUI.
- Bugfix: Loading CSS and JS in admin-page
- Building against Bitbucket 4.0.0
- Was using EAP
- Bugfix: Adding Basic Auth headers to injection url request.
- Migrated from Stash 3 to Bitbucket Server 4.
- The release of Bitbucket Server 4.0 (2015-09-22) broke all backwards compatibility and made it more or less impossible to maintain a version that is compatible with both Stash 3.x and Bitbucket Server 4.x. That is why this plugin changed name in 2.0 release.
- Changed name from Pull Request Notifier for Stash to Pull Request Notifier for Bitbucket.
- 1.x is compatible with Stash 3 and 2.x is compatible with Bitbucket Server 4.
- Can enable trigger
- If PR has, or has no, conflicts
- Only if PR has conflicts
- Only if PR has no conflicts
- New variable ${PULL_REQUEST_TITLE}
- Adding an optional regular expression, that can be evaluated in the response from injection URL, to populate ${INJECTION_URL_VALUE}.
- Removing XPath alternative, introduced in version 1.22. It may not work in all installations. And is is not needed for Jenkins, which was the original use case.
- Bugfix: Sending post content in POST and PUT notifications.
- Removing JsonPath alternative, introduced in version 1.22. It causes classpath issues for some users.
- Removing SLF4J usage to deal with classpath issues.
- Adding feature that can inject variable evaluated in content of a URL. Raw content or value of an xPath or JsonPath.
- Bugfix: Closing inputstream after invocation. This may have caused "IOException: Too many open files".
- Hiding buttons in pull request view, if no notification will be fired when it is clicked
- Using label without ID:s in admin GUI
- To avoid using same ID:s multiple times
- Optionally allow users and admins to configure the plugin.
- A common user, will have to browse to http://domain/stash/plugins/servlet/prnfs/admin to do configuration.
- Bugfix: Only ignore events on closed pull requests if its a COMMENT-event.
- Avoiding endless loop if user not 'System Admin' when editing configuration
- Triggers can be named. To make it easier to keep track of them in large installations.
- Trigger Notification Buttons on Pull Request View
- And ${BUTTON_TRIGGER_TITLE} variable resolving to title of pressed button
- Building against latest Stash version (3.11.1) using latest Atlassian Maven Plugin Suite version (6.0.3)
- Adding ${PULL_REQUEST_URL} variable. Points to the pull request view in Stash.
- Ignoring events if pull request is closed
- Triggering also on comment replies if COMMENTED event is checked.
- Removing RESCOPED event, its confusing when to use it together with _FROM and _TO. RESCOPED was triggered when both _FROM and _TO changed at the exact same time. Now, just check _FROM if you only want to trigger when source branch changes, _TO if only target and both if you want to trigger for both.
- Adding logging to make it easier to debug what events are triggered.
- New variables with information about the user who issued the event
- ${PULL_REQUEST_USER_DISPLAY_NAME} Example: Some User
- ${PULL_REQUEST_USER_EMAIL_ADDRESS} Example: [email protected]
- ${PULL_REQUEST_USER_ID} Example: 1
- ${PULL_REQUEST_USER_NAME} Example: user.name
- ${PULL_REQUEST_USER_SLUG} Example: user.name
- Bugfix
- Letting PULL_REQUEST_FROM_BRANCH, and PULL_REQUEST_TO_BRANCH, evaluate to branch display name. A branch with slashes in name, like "feature/branchmodmerge", will no longer be evaluated to "branchmodmerge" but keep the name "feature/branchmodmerge".
- Adding clone URL variables
- ${PULL_REQUEST_FROM_HTTP_CLONE_URL} Example: http://admin@localhost:7990/stash/scm/project_1/rep_1.git
- ${PULL_REQUEST_FROM_SSH_CLONE_URL} Example: ssh://git@localhost:7999/project_1/rep_1
- Custom HTTP headers
- Proxy support
- Stash Data Center compatibility
- Adding PULL_REQUEST_COMMENT_TEXT and PULL_REQUEST_VERSION variables
- Adding PULL_REQUEST_FROM_BRANCH and PULL_REQUEST_TO_BRANCH variables to make branch names available
- Adding support for PUT and DELETE
- Support for HTTP POST requests, with content that is rendered with variables
- Letting variable ${PULL_REQUEST_ACTION} return RESCOPED_FROM or RESCOPED_TO instead of just RESCOPED
- Not sending authentication headers when user and/or password is not set
- Adding RESCOPED_FROM and RESCOPED_TO event types
- Correcting design with CSS for password field in admin view
- Removing accidently added text from admin view
- Using password type on password-field in admin GUI
- Some new variables added
- ${PULL_REQUEST_ACTION} Example: OPENED
- ${PULL_REQUEST_AUTHOR_DISPLAY_NAME} Example: Administrator
- ${PULL_REQUEST_AUTHOR_EMAIL} Example: [email protected]
- ${PULL_REQUEST_AUTHOR_ID} Example: 1
- ${PULL_REQUEST_AUTHOR_NAME} Example: admin
- ${PULL_REQUEST_AUTHOR_SLUG} Example: admin
- Bugfix: Avoiding multiple notifications being sent from same event.
Same as version 1.2 but with different version number. When version 1.2 was initially rejected I fixed the issue and created a new 1.2. But a new version number was needed for a resubmission to Atlassian Marketplace.
- Compatible with Java 7, was compatible with Java 8 since java.util.Base64 was accidently used
- Adding support for filters
- Adding support for PULL_REQUEST_TO_HASH and PULL_REQUEST_FROM_HASH variables
- Fixing authentication bug
- Making it compatible with Stash 2.12.0
Initial Release