You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello, community,
I have encountered the following problem: the extension manages to login successfully and bring the list of existing PRs. When I try to unfold one of PRs it ends up with an
"Error: fetching pull request details failed"
While investigating the extension logs I found that it uses a deprecated REST API call:
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/tasks
As it can be read here it is Deprecated since 7.2. server version.
Extension error log:
Manual curl invocation produces the following result:
Extension version: 3.0.3
VSCode version: 1.77.3
Platform: Ubuntu 20.04
Bitbucket server version: 8.2.1
Does anyone have an idea how to fix this?
Thanks
I am experiencing this same issue after our Bitbucket server test instance was upgraded to 8.9.0. Our production instance is still running Bitbucket Server 7.21.5, and I do not see those errors when working with production.
I try to create a new pull request, and get this in the extension's GUI after clicking the "CREATE PULL REQUEST" button:
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
The "Create pull request" window remains open, but is not able to update, and all the fields just spin.
The pull request is created on the Bitbucket server, however, and I get a notification from the extension right in VS Code, and the pull request title shows up in my list/tree. But the pull request doesn't open.
This is the error output log from the VS Code extension:
[2023-04-22 19:54:08:669] ----------------------------------------------------------------------
[2023-04-22 19:54:08:669] curl -X GET -H "User-Agent:atlascode/2.x axios/0.19.2" -H "Content-Type:application/json" -H "Authorization:Basic blahblahblah==" "https://our-bbtestserver.com/rest/api/1.0/projects/proj/repos/practice-test/pull-requests/1/tasks"
[2023-04-22 19:54:08:670] ----------------------------------------------------------------------
[2023-04-22 19:54:08:825] Error getting URL: https://our-bbtestserver.com/rest/api/1.0/projects/proj/repos/practice-test/pull-requests/1/tasks [object Object]
[2023-04-22 19:54:08:825] error fetching pull request details [object Object]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.