Skip to content

[Bitbucket Server] No more local Git repository detection --> no redirection when remote is an alias of true URL #56

Open
@FALLAI-Denis

Description

Describe the bug

Since version 3.0.0, the extension does not support redirects (http status 301?) when accessing the Bitbucket server url.

See issue 802: Jira and Bitbucket extension for VS Code - No more local Git repository detection --> no redirection when remote is an alias of true URL

To Reproduce

The origin of the problem has been identified:

  • our Enterprise Bitbucket server has changed URL: address and port are different
  • the old URL was kept as an alias
  • if we clone a Repository using the alias, then the VS Code extension does not work for Pull Request management
  • if we clone a Repository using the real address, or if we modify the remote information in a Repository cloned with the alias, then the VS Code extension works for Pull Request management

Conclusion: The VS Code extension does not handle URL redirection requests to access the Enterprise Bitbucket server.

Expected behavior

Support redirection url.

Screenshots

image

Environment and Version (please complete the following information):

  • Atlassian Plugin Version (x.x.x)
  • Visual Studio Code Version: all
  • Is this a local or cloud environment? Local
  • If Cloud, Browser (chrome, safari)
  • If Local, OS: Windows 10 22H2

Additional context

See Jira and Bitbucket extension for VS Code - No more local Git repository detection --> no redirection when remote is an alias of true URL

Metadata

Assignees

No one assigned

    Labels

    bitbucketThis is related to BitbucketbugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions