Skip to content

fix(bitbucket): make project key and repo slug case-insensitive#24

Open
nick4eva wants to merge 1 commit intob1ff:masterfrom
nick4eva:make-bitbucket-urls-case-insensitive
Open

fix(bitbucket): make project key and repo slug case-insensitive#24
nick4eva wants to merge 1 commit intob1ff:masterfrom
nick4eva:make-bitbucket-urls-case-insensitive

Conversation

@nick4eva
Copy link
Copy Markdown
Contributor

@nick4eva nick4eva commented Mar 25, 2026

Summary

  • Normalize projectKey to uppercase and repositorySlug to lowercase at the BitbucketService layer entry points
  • Fixes failures when project keys are extracted from git remote URLs (which are lowercase) and passed directly to MCP tools
  • Adds 5 tests verifying case normalization across key service methods

Test plan

  • All 126 existing bitbucket tests pass
  • New tests verify lowercase projectKey is uppercased and mixed-case repositorySlug is lowercased before API calls

Uppercase projectKey and lowercase repositorySlug at the service layer
entry points so callers can pass any casing (e.g. from git remote URLs)
without Bitbucket API returning 404.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant