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

Add backup function for knowledge base articles #1

Open
KarstenSchulz opened this issue Jun 17, 2022 · 2 comments
Open

Add backup function for knowledge base articles #1

KarstenSchulz opened this issue Jun 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@KarstenSchulz
Copy link
Owner

See docs at https://www.jetbrains.com/help/youtrack/devportal/resource-api-articles.html

@KarstenSchulz KarstenSchulz added the enhancement New feature or request label Jun 17, 2022
@KarstenSchulz KarstenSchulz self-assigned this Jun 17, 2022
@KarstenSchulz KarstenSchulz added wip Work in progress and removed wip Work in progress labels Jun 17, 2022
@KarstenSchulz KarstenSchulz removed their assignment Sep 3, 2022
@larshenning42
Copy link

Hello Karsten, does this mean you've completed this enhancement? Can they be backed up as .md files?

@KarstenSchulz
Copy link
Owner Author

Yes, the command can download the issues with attachments as markdown files. Here is the help text of the command:

❯ yt backup -h
usage: yt backup [-h] [-i PROJECT_ID] YT_BACKUP_DIR

positional arguments:
  YT_BACKUP_DIR         The root directory to store all tickets.

options:
  -h, --help            show this help message and exit
  -i PROJECT_ID, --project-id PROJECT_ID
                        Project ID to backup (eg '0-42'). If omitted, all projects are saved.

Just try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants