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 integration not working with self-hosted instance #762

Open
1 task done
dnaka91 opened this issue Jul 21, 2024 · 2 comments
Open
1 task done

Bitbucket integration not working with self-hosted instance #762

dnaka91 opened this issue Jul 21, 2024 · 2 comments
Assignees
Labels
integration Related to remote integration

Comments

@dnaka91
Copy link
Contributor

dnaka91 commented Jul 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

The Bitbucket integration mentions that the API endpoint can be changed with a env var, but that won't work as self-hosted instances use a completely different REST API compared to the cloud version.

It seems Atlassian splits the APIs between Cloud and Server (self-hosted). Definitely the Cloud version looks much more like a newer and simple API, so I guess they kept the old API for self-hosted instances for backward compatibility.

Therefore, a dedicated extra remote is needed that can handle the older API.

I already prepared the changes locally, but wanted to create an issue for it as well so it can be tracked an associated later.

Steps To Reproduce

  1. Have a self-hosted instance of Bitbucket
  2. Create project
  3. Run git-cliff with the repo configured for the bitbucket integration
  4. All API requests fail

Expected behavior

The API requests should work as expected and git-cliff associate the PRs with commits.

Screenshots / Logs

No response

Software information

  • Operating system: Arch Linux
  • Rust version: 1.79.0

Additional context

No response

@dnaka91 dnaka91 added the integration Related to remote integration label Jul 21, 2024
Copy link

welcome bot commented Jul 21, 2024

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

@orhun
Copy link
Owner

orhun commented Jul 31, 2024

Ah, didn't realize that self-hosted instances were using a different API. Thanks for trying it out and creating an issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Related to remote integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants