{"id":26284611,"url":"https://github.com/shanehofstetter/youtrack-rest-client-ruby","last_synced_at":"2025-09-04T16:50:55.389Z","repository":{"id":65542066,"uuid":"593308402","full_name":"shanehofstetter/youtrack-rest-client-ruby","owner":"shanehofstetter","description":"youtrack REST API client written in Ruby","archived":false,"fork":false,"pushed_at":"2023-08-02T13:08:31.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T07:34:24.944Z","etag":null,"topics":["api-client","rest-client","ruby","youtrack"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/youtrack_client","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shanehofstetter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-25T17:59:00.000Z","updated_at":"2023-02-13T09:42:21.000Z","dependencies_parsed_at":"2025-03-14T18:37:04.830Z","dependency_job_id":"7b965a65-c50c-4bde-9ab8-7b5b9783ec6b","html_url":"https://github.com/shanehofstetter/youtrack-rest-client-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shanehofstetter/youtrack-rest-client-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-rest-client-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-rest-client-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-rest-client-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-rest-client-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanehofstetter","download_url":"https://codeload.github.com/shanehofstetter/youtrack-rest-client-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanehofstetter%2Fyoutrack-rest-client-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273641592,"owners_count":25142246,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api-client","rest-client","ruby","youtrack"],"created_at":"2025-03-14T18:36:58.584Z","updated_at":"2025-09-04T16:50:55.361Z","avatar_url":"https://github.com/shanehofstetter.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](https://user-images.githubusercontent.com/13404717/59300590-da2b6600-8c8f-11e9-82b2-ab3dc856ffdb.jpeg)\n\n# youtrack-rest-client\n\nRuby client for the [Youtrack REST API](https://www.jetbrains.com/help/youtrack/standalone/youtrack-rest-api-reference.html)\n\n[![🛡 Specs](https://github.com/shanehofstetter/youtrack-rest-client-ruby/actions/workflows/specs.yml/badge.svg)](https://github.com/shanehofstetter/youtrack-rest-client-ruby/actions/workflows/specs.yml)\n[![Gem Version](https://badge.fury.io/rb/youtrack_client.svg)](https://badge.fury.io/rb/youtrack_client)\n\n## Usage\n\n## Installation\n\nUsing bundler:\n\n```bash\nbundle add youtrack_client\n```\n\n### Authentication\n\n**With your permanent token (\nsee [Manage-Permanent-Token](https://www.jetbrains.com/help/youtrack/incloud/Manage-Permanent-Token.html)):**\n\n```ruby\nrequire 'youtrack'\n\n# 1. create an instance, pass your youtrack instance url and access token\nyoutrack = Youtrack::Client.new(base_url: \"https://example.myjetbrains.com\", token: \"perm:your-token\")\n\n# 2. make requests!\nyoutrack.users.current.email\n```\n\n### [Users](https://www.jetbrains.com/help/youtrack/incloud/api-entity-User.html)\n\n```ruby\n\n# get the current user\nyoutrack.users.current\n\n# get all users\nyoutrack.users.all\n\n# search users\nyoutrack.users.all(\"query\" =\u003e \"admin\")\n\n# get a user by id\nyoutrack.users.by_id('1-1')\n\n```\n\n### [Projects](https://www.jetbrains.com/help/youtrack/incloud/api-entity-Project.html)\n\n```ruby\n\n# get all projects\nyoutrack.projects.all\n\n# search projects\nyoutrack.projects.all(query: \"DEMO\")\n\n# get a project by its id\nyoutrack.projects.by_id('0-0')\n\n```\n\n### [Issues](https://www.jetbrains.com/help/youtrack/incloud/api-entity-Issue.html)\n\n```ruby\n# search/list issues\nyoutrack.issues.search('project: T1')\n```\n\n```ruby\n# get issue by id\nyoutrack.issues.by_id('T1-2')\n```\n\n```ruby\n# delete an issue\nyoutrack.issues.delete('2-2')\n```\n\n```ruby\n# create a new issue \nyoutrack.issues.create({\n                         summary: 'lorem ipsum',\n                         description: 'created using rest api',\n                         project: {\n                           id: '0-0'\n                         }\n                       })\n# you can also pass a model instance\nyoutrack.issues.create(Youtrack::Models::Issue.new(summary: \"demo issue\",\n                                                   description: \"demo issue description\",\n                                                   project: youtrack.projects.by_id(\"0-0\")))\n\n\n```\n\n### [Commands](https://www.jetbrains.com/help/youtrack/incloud/api-entity-CommandList.html)\n\n```ruby\n# execute command for issue(s)\nyoutrack.issues.command(\"State Open\", youtrack.issues.search(\"DEMO-12\"))\n# pass the ids directly\nyoutrack.issues.command(\"State Open\", %w[T1-1 T1-2 T1-3])\n```\n\n## Contributing\n\nIf you encounter any missing features or bugs, you're welcome to open an Issue! PRs are welcome too ;-)\n\n1. Fork it ( https://github.com/shanehofstetter/youtrack-rest-client-ruby/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanehofstetter%2Fyoutrack-rest-client-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanehofstetter%2Fyoutrack-rest-client-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanehofstetter%2Fyoutrack-rest-client-ruby/lists"}