- edited description
Error on Pull Request creation and browsing
On creating a Pull Request, the PR is created on the Bitbucket server, but errors are thrown in the interface
Something went wrong
context:null
message:"Tasks are now managed using Comments with BLOCKER severity. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments?count=true instead."
exceptionName:null
Browsing of Pull Requests, the GUI only shows the headline of the PR - the details link shows:
Error: fetching pull request details failed
The details link does not work, so PR merge is currently unavailable from the vscode plugin.
Is this a local problem or a new issue?
Problem started last week (Aug 15th 2022).
Bitbucket on-prem installation v8.1.0
vscode Jira and Bitbucket plugin v2.10.12
Comments (8)
-
reporter -
For me this issue also occurs, failing to fetch pull request. Thus I cannot use the plugin at all
-
This is happening to me as well – plugin is still unusable as of 12/15/2022 as it's unable to fetch any details regarding pull requests.
Backend API change deprecating this: https://docs.atlassian.com/bitbucket-server/javadoc/7.3.0/api/deprecated-list.html
-
Same is happening to me as well.
-
Account Deactivated Same here. The Jira part of the vs code extension seems to work fine but the Bitbucket part does not. I’m using SSH to connect to Bitbucket and oAuth in the Extention. I noticed that when I right-click on the repo folder under the pull requests section it takes me to the ssh keys host alias rather than the ssh keys host domain. Wondering if the thing we all have in common is multiple SSH keys.
Example: SSH ConfigWhen I try to view repo in browser I’m taken to
bitbucket.org-work/path/to/repo
when I should be taken tobitbucket.org/path/to/repo
. -
@Drew Snyder , thanks for the tip. Unfortunately, that was not it for me (but I was hoping!). From what I can tell, the issue is that the extension is querying a deprecated URL when retrieving PR details. The line of code in their source, I believe, is this one (line 186 if it doesn’t come through in the link): atlassianlabs / atlascode / src / bitbucket / bitbucket-server / pullRequests.ts — Bitbucket. Instead of tasks, I believe that should be /blocking-comments. I haven’t played with the source enough to know, but this is what I was able to figure out from looking at the debugging logs in VSCode. There may be more to it, but that URL absolutely fails, and the error message in the response even says to use /blocking-comments vs. /tasks. So, until Atlassian, or someone, fixes that, we’re probably all in a holding pattern.
-
Just adding another vote for this. Plugin is unusable for my team without this fix.
-
same here
tried re-authenticated multiple times.
- Log in to comment