Skip to content

feat(bitbucket-server): Add API-driven pipeline backend for Bitbucket Server integration setup#116295

Merged
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/feat-bitbucket-server-add-api-driven-pipeline-backend-for-bitbucket-server-integration-setup
May 27, 2026
Merged

feat(bitbucket-server): Add API-driven pipeline backend for Bitbucket Server integration setup#116295
evanpurkhiser merged 1 commit into
masterfrom
evanpurkhiser/feat-bitbucket-server-add-api-driven-pipeline-backend-for-bitbucket-server-integration-setup

Conversation

@evanpurkhiser
Copy link
Copy Markdown
Member

@evanpurkhiser evanpurkhiser commented May 27, 2026

Implement get_pipeline_api_steps() on BitbucketServerIntegrationProvider with two steps: installation config (validates URL, RSA private key, and consumer key length, then fetches an OAuth 1.0a request token from the Bitbucket Server instance), and an OAuth callback step that builds the authorize URL from the request token and exchanges the callback's oauth_token (used by Bitbucket Server as the verifier) for an access token.

Legacy InstallationConfigView, OAuthLoginView, and OAuthCallbackView remain in place so in-flight installs can complete via the existing flow; they will be removed in a follow-up (VDY-103) once the API flow has been validated in production.

Ref VDY-99

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 27, 2026
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 27, 2026

VDY-99

Comment thread src/sentry/integrations/bitbucket_server/integration.py Outdated
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-bitbucket-server-add-api-driven-pipeline-backend-for-bitbucket-server-integration-setup branch 2 times, most recently from 2d49f16 to b88bb62 Compare May 27, 2026 14:28
… Server integration setup

Implement `get_pipeline_api_steps()` on `BitbucketServerIntegrationProvider`
with two steps: installation config (validates URL, RSA private key, and
consumer key length, then fetches an OAuth 1.0a request token from the
Bitbucket Server instance), and an OAuth callback step that builds the
authorize URL from the request token and exchanges the callback's
`oauth_token` (used by Bitbucket Server as the verifier) for an access
token. Legacy `InstallationConfigView`, `OAuthLoginView`, and
`OAuthCallbackView` remain in place so in-flight installs can complete via
the existing flow; they will be removed in a follow-up once the API flow
has been validated in production.
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-bitbucket-server-add-api-driven-pipeline-backend-for-bitbucket-server-integration-setup branch from b88bb62 to a2aaa5f Compare May 27, 2026 18:06
@evanpurkhiser evanpurkhiser marked this pull request as ready for review May 27, 2026 18:15
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner May 27, 2026 18:15
@evanpurkhiser evanpurkhiser merged commit 60f40a7 into master May 27, 2026
62 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/feat-bitbucket-server-add-api-driven-pipeline-backend-for-bitbucket-server-integration-setup branch May 27, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants