KarstenSchulz / yt-issues

Command line tool to retrieve and export issues from YouTrack service
MIT License
7 stars 2 forks source link

Add backup function for knowledge base articles #1

Open KarstenSchulz opened 2 years ago

KarstenSchulz commented 2 years ago

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

larshenning42 commented 1 year ago

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

KarstenSchulz commented 1 year ago

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.