-
Just found this in the server logs:
io.onedev.commons.utils.ExplicitException: Http request failed (url: https://api.bitbucket.org/2.0/user/permissions/workspaces?pagelen=50, status code: 410, error message: {"type": "error", "error": {"message": "CHANGE-2770 - Functionality has been deprecated", "detail": "Please read the changelog entry for more details.", "data": {"announcement_url": "https://developer.atlassian.com/cloud/bitbucket/changelog#CHANGE-2770"}}, "data": {"announcement_url": "https://developer.atlassian.com/cloud/bitbucket/changelog#CHANGE-2770"}})
So it seems OneDev crashes with the import flow because bitbucket turned some features off.
-
Name Previous Value Current Value Type
Question
Bug
Affected Versions
empty 15.1.6
-
State changed as build OD-7537 (15.1.7) is successful
-
OneDev
changed state to 'Closed' 4 weeks ago
Previous Value Current Value Open
Closed
-
Thanks for the quick action on taking up this bug. Something was fixed, but I reckon not all of it. The server log gives a different error now.
For UX its still the same, so no new screenshot needed.
There appears to be a slightly different error logged when opening the dropdown of the workspaces and the one for the repositories. For both I have attached the logs.
-
Previous Value Current Value Closed
Open
-
Name Previous Value Current Value Affected Versions
15.1.6
15.1.7
-
Thanks for reporting. This issue will be fixed in 15.1.8 soon.
-
State changed as build OD-7549 (15.1.8) is successful
-
OneDev
changed state to 'Closed' 3 weeks ago
Previous Value Current Value Open
Closed
-
Thanks for reporting. This issue will be fixed in 15.1.8 soon.
Thanks, confirmed working now. Although I reckon Issues aren't supposed to be imported? From gitlab they are imported that is why I was expecting it.
-
Issues will not be imported. However this can be achieved via JIRA issue importing.
-
Thanks, we might have a look at it. Currently I have build a script that imports everything into OneDev, including downloaded attachments and images from bitbucket in issues and comments. Only thing left is then that the issues can't be backdated via the API. But we'll do so via a one-time database update, including a last activity history update for the status. Then we should be good. 👍
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
15.1.7
|
| Labels |
No labels
|
We have been evaluating most git manage tools and, coming from bitbucket, onedev has the best fit and some excellent features. Thanks! I want to import the git and issues from bitbucket. But I cant get the workspaces and repos dropdowns to list any. For an import from gitlab this does work. The api token seems to have enough rights/access to bitbucket because I can make it through the first auth step.
We do have another method of getting our stuff into onedev, actually 2, but would very much like to import straight from bitbucket cloud. the other 2 are:
A screenshot when trying the import: