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

Cannot start a workspace from a Bitbucket PR when opened from a Jira ticket. #19622

Open
paul-laborderie opened this issue Apr 15, 2024 · 1 comment
Labels
team: team-experience type: bug Something isn't working

Comments

@paul-laborderie
Copy link

Bug description

Hey! My team just started using gitpod. We are facing this issue: we open a ticket on Jira, and click on the linked Bitbucket PR. From there we expect to be able to start a workspace using the button added by the browser extension.
Problem is Gitpod hits us with a HTTPError: Not found.

This seems to happen because Jira changes the repo name in the URL to some sort of UUID. So instead of having this kind of URL: https://bitbucket.org/org-name/repo-name/pull-requests/XX, we have https://bitbucket.org/org-name/%7some-uuid%7D/pull-requests/XX.

If we manually replace the UUID by the repo name in the URL, reload the page and then click the button it all works fine.

Steps to reproduce

  • Open a jira ticket
  • Click on the linked bitbucket PR
  • Click on the Gitpod button to open a workspace on this branch

Workspace affected

No response

Expected behavior

I would expect Gitpod to be able to handle both URL types and open a workspace.

Example repository

No response

Anything else?

No response

@paul-laborderie paul-laborderie added the type: bug Something isn't working label Apr 15, 2024
@svenefftinge
Copy link
Member

Thanks for the report. Seems like we need to teach our contextURL resolver for bitbucket to deal with these UUIDs.
As it doesn't seem to be a blocker (a real annoyance, though!) I unfortunately can't give you a timeline for this atm as the team is busy with other developments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: team-experience type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants