stashnotifier-plugin icon indicating copy to clipboard operation
stashnotifier-plugin copied to clipboard

Issue #290: Implement compatibility with new Bitbucket rest api

Open BUGinator86 opened this issue 2 years ago • 0 comments

and fix missing "parent" property in JSON for required builds.

This fixes Issue #290 without breaking compatibility with older versions of BitBucket/Stash. We support the old deprecated REST API and the new REST API.

Testing done

The test was done in our test environment with BitBucket 7.21 that supports both versions of the API, because we needed a slim plugin for our required builds. After both versions successfully worked in our test environment we now use it for about 3 Weeks in production without any problems.

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

BUGinator86 avatar Oct 03 '23 19:10 BUGinator86