{"id":26284654,"url":"https://github.com/shanehofstetter/youtrack-cli","last_synced_at":"2025-05-07T12:25:47.115Z","repository":{"id":33235201,"uuid":"156117033","full_name":"shanehofstetter/youtrack-cli","owner":"shanehofstetter","description":"Command Line Tool for interacting with youtrack","archived":false,"fork":false,"pushed_at":"2023-02-28T04:09:30.000Z","size":527,"stargazers_count":29,"open_issues_count":8,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T05:43:01.416Z","etag":null,"topics":["cli","jetbrains","node","nodejs","npm-package","typescript","youtrack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shanehofstetter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-04T19:29:05.000Z","updated_at":"2025-03-06T15:03:00.000Z","dependencies_parsed_at":"2025-03-14T18:37:11.209Z","dependency_job_id":"e7dc1163-d280-40f0-8539-4f402955effd","html_url":"https://github.com/shanehofstetter/youtrack-cli","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanehofstetter","download_url":"https://codeload.github.com/shanehofstetter/youtrack-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252875306,"owners_count":21817997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","jetbrains","node","nodejs","npm-package","typescript","youtrack"],"created_at":"2025-03-14T18:37:06.053Z","updated_at":"2025-05-07T12:25:47.089Z","avatar_url":"https://github.com/shanehofstetter.png","language":"TypeScript","funding_links":["https://www.paypal.com/donate/?business=PB26QWEQQ3RE4\u0026no_recurring=0\u0026item_name=Support+my+open+source+work+on+github+%E2%9D%A4%EF%B8%8F\u0026currency_code=USD"],"categories":[],"sub_categories":[],"readme":"# youtrack-cli\nCommand Line Tool for interacting with youtrack\n\n[![Build Status](https://travis-ci.com/shanehofstetter/youtrack-cli.svg?branch=master)](https://travis-ci.com/shanehofstetter/youtrack-cli)\n![npm](https://img.shields.io/npm/v/youtrack-cli.svg)\n![NpmLicense](https://img.shields.io/npm/l/youtrack-cli.svg)\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=PB26QWEQQ3RE4\u0026no_recurring=0\u0026item_name=Support+my+open+source+work+on+github+%E2%9D%A4%EF%B8%8F\u0026currency_code=USD)\n\n## Install\n```\nnpm install -g youtrack-cli\n```\n```\nyarn global add youtrack-cli\n```\n\n\n## Usage\n\nAfter you've installed the package globally, youtrack-cli will be available as `youtrack` in your command line.\n\n### Getting started\n\nTo setup the cli (set the URL, provide your credentials), run:\n```bash\n$ youtrack setup\n```\nThis will guide you through the setup process.\n\n### Commands\n\n```\nyoutrack -h\n```\n\nAvailable commands are:\n\n```\nproject|p      manage projects\nuser|u         manage users\nissue|i        manage issues\nworkitem|w     manage workitems\nsetup          setup youtrack cli\n```\n\n\n#### Projects\n\n```\n$ youtrack project \u003csubcommand\u003e \u003coptions\u003e\n```\n\nAvailable subcommands:\n\n```\nlist|ls [options]  list all accessible projects\n```\n\n\n##### list\n\n```\nOptions:\n  -r, --raw   print raw json\n  -d, --desc  print description (does not apply when option --raw is used\n```\n\nExample:  \n\n```bash\n$ youtrack project ls\n```\n\n![image](https://user-images.githubusercontent.com/13404717/48026722-28e7af00-e147-11e8-8716-e63e9be1d0f8.png)\n\n\n#### Users\n\n```\n$ youtrack user \u003csubcommand\u003e \u003coptions\u003e\n```\n\nAvailable subcommands:\n\n```\ninfo|i [options]        show info about current user\nshow [options] \u003clogin\u003e  show info about user\n```\n\n\n#### Issues\n\n```\n$ youtrack issue \u003csubcommand\u003e \u003coptions\u003e\n```\n\nAvailable subcommands:\n\n```\nfind|f [options]            search issues with a query (interactive)\nshow|s [options] \u003cissueId\u003e  show issue info\ndelete|d [options] \u003cissue\u003e  delete an issue by its id\ncreate|c                    creates an issue (interactive)\n```\n\n##### find\n\n```\nOptions:\n  -q, --query           non-interactive query\n  -r, --raw             print raw json\n  -m, --max \u003cmax\u003e       limit number of issues shown\n  -f, --fields \u003cfield\u003e  which fields to display\n```\n\nExample:  \n\n```bash\n$ youtrack issue f\n```\n\n![image](https://user-images.githubusercontent.com/13404717/48168483-ac440480-e2ef-11e8-9de5-6484deb0bad4.png)\n\n#### Work-Items (Timetracking)\n\n```\n$ youtrack workitem \u003csubcommand\u003e \u003coptions\u003e\n```\n\nAvailable subcommands:\n```\nlist|ls [options] \u003cissueId\u003e  list all workitems for issue\ncreate|c [options]           create new work item for an issue (interactive)\ndelete|d                     delete work item of an issue (interactive)\nedit|e                       edit work item of an issue (interactive)\n```\n\n##### list\n\n```\nOptions:\n  -r, --raw             print raw json\n```\n\nExample:  \n\n```bash\n$ youtrack workitem ls T1-2\n```\n\n![image](https://user-images.githubusercontent.com/13404717/48168349-232ccd80-e2ef-11e8-9cb7-dbe8222e0203.png)\n\n##### create\n\nCreate a new work item for an issue in interactive mode. \nIf all parameters are given via options, the interactive mode is skipped.\n\n```\n-i, --issue \u003cissue\u003e                  issue id\n-d, --duration \u003cduration\u003e            duration (e.g. \"1h 30m\")\n--date \u003cdate\u003e                        date\n-w, --worktype \u003cworktype\u003e            work-type\n--desc, --description \u003cdescription\u003e  description\n-r, --raw                            print raw json\n-h, --help                           output usage information\n```\n\nExample:\n\n```bash\n$ youtrack w c --issue \"T1-1\" --duration \"1h 30m\" --date \"6.11.2018\" --worktype \"testing\" --description \"tested it in IE\"\n```\n\nYou can also start the interactive mode by omitting all Options:\n\n```bash\n$ youtrack w c\n```\n\n#### Issue Comments\n\n```\n$ youtrack comment \u003csubcommand\u003e \u003coptions\u003e\n```\nAvailable subcommands:\n\n```\nlist|ls [options] \u003cissueId\u003e  list all comments of an issue\ncreate|c [options]           add comment to an issue. starts interactive mode if parameters are omitted.\ndelete|d                     delete a comment (interactive\nedit|e                       update a comment (interactive\n```\n\n##### create\n\nExample:  \n\n```bash\n$ youtrack comment create -i T1-1 -c \"my comment\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanehofstetter%2Fyoutrack-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanehofstetter%2Fyoutrack-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanehofstetter%2Fyoutrack-cli/lists"}