Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket 7.15 RestAPI update #290

Open
swaragade opened this issue Feb 7, 2022 · 5 comments
Open

Bitbucket 7.15 RestAPI update #290

swaragade opened this issue Feb 7, 2022 · 5 comments

Comments

@swaragade
Copy link

swaragade commented Feb 7, 2022

What feature do you want to see added?

StashNotifier plugin (v1.25) uses a Bitbucket API here for sending the build notifications.
This API has been deprecated by the Bitbucket.
Please add support for new BitBucket Notification API

Upstream changes

No response

@swaragade
Copy link
Author

@scaytrase kindly check

@scaytrase
Copy link
Member

@swaragade currently I have neither bitbucket instance nor active jenkins installations, so It would be hard to implement this feature by myself. But any PR is welcome here

@offa
Copy link
Contributor

offa commented May 11, 2022

@swaragade are you sure? The endpoint is still listed without any deprecation notice: https://developer.atlassian.com/server/bitbucket/how-tos/updating-build-status-for-commits/

@roman-mibex-2
Copy link

This API is deprecated. However, it wasn't marked properly. https://jira.atlassian.com/browse/BSERV-13381 as such.

I got marked properly as deprecated in 8.3: https://developer.atlassian.com/server/bitbucket/rest/v803/api-group-build-status/#api-build-status-latest-commits-commitid-get

@roman-mibex-2
Copy link

The new API requires the projectKey and repoSlug info. This isn't present in the plugin as it is designed now.
The projectKey can be supplied optionally.

So, using the new API would require some changes in the design or usage. That would need way more though and time than I can offer at this point in time.

BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue Oct 3, 2023
…api and fix missing "parent" property in JSON for required builds
BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue Oct 3, 2023
BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue May 30, 2024
BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue May 30, 2024
…api and fix missing "parent" property in JSON for required builds
BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue May 30, 2024
BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue May 30, 2024
BUGinator86 pushed a commit to BUGinator86/stashnotifier-plugin that referenced this issue Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants