Import / Export Issues #960
Labels
No Label
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Codeberg/Community#960
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to have the ability to export and import issues as CSV files.
In Gitlab this helps us a lot to process issues externally and import again or copy issues from one project to another.
We used this feature in the past to create a repo with a copy of issues for each of our searchwing.org rescue drones where we need to finish each issue before taking the drones into mission.
You can use the
teacli to print issues as csv files:I've just tryed but getting thiss result:
2023/10/17 23:59:56 Unknown API Error: 404 Request: '/gponzo/xxx_my_repo_xxx/api/v1/version' with 'GET' method 'map[Authorization:[Basic Z3BvbnpvOjIwQzBkMzIxQjNyZyE=]]' header and 'Not found. ' bodyThe API call seems to be nonsense. The version route is at /api/v1/version and has always been IIRC. You might want to ensure rotating your sessions etc, not sure what this Basic Authorization token is about.
It was my fault, but still not able to complete:
tea-0.9.2-linux-amd64 login add? URL of Gitea instance: https://codeberg.org? Name of new Login [codeberg.org]: gponzo? Do you have an access token? No? Username: gponzo? Password: *************? Set Optional settings: NoError: token does not have at least one of required scope(s): [read:user]tea-0.9.2-linux-amd64 login addwas required whan issuing the command you suggested.What am I doing wrong?
Hmm I never used this tool, to be honest. You might get around this by creating an access token with read permissions as described in https://docs.codeberg.org/advanced/access-token/
But I still wonder why this does not work if you answer that you have no token …
Thank you :)
I've created a token with permissions (R/W) on issues, and given to tea but I receive the very same error:
Error: token does not have at least one of required scope(s): [read:user]:(
I think it wants read scope on the user itself. I suppose they want to check your user account details to verify your login or something.
The personal access token thing is a mess in my eyes. Maybe you can have a look if https://codeberg.org/RobWalt/codeberg-cli is an alternative. There's a vivid community around this tool, maybe they can even help you out with the other option.