{"id":31009360,"url":"https://github.com/robhurring/jerry","last_synced_at":"2025-09-13T04:34:35.212Z","repository":{"id":22054396,"uuid":"25383190","full_name":"robhurring/jerry","owner":"robhurring","description":"Jira/GitFlow helper. ","archived":false,"fork":false,"pushed_at":"2015-02-20T18:14:41.000Z","size":269,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-13T19:19:38.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/robhurring.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}},"created_at":"2014-10-18T01:08:49.000Z","updated_at":"2015-02-20T18:14:42.000Z","dependencies_parsed_at":"2022-08-20T18:40:29.427Z","dependency_job_id":null,"html_url":"https://github.com/robhurring/jerry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robhurring/jerry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Fjerry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Fjerry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Fjerry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Fjerry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robhurring","download_url":"https://codeload.github.com/robhurring/jerry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robhurring%2Fjerry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274919755,"owners_count":25373953,"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-13T02:00:10.085Z","response_time":70,"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":[],"created_at":"2025-09-13T04:34:29.818Z","updated_at":"2025-09-13T04:34:35.200Z","avatar_url":"https://github.com/robhurring.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n                       ██╗███████╗██████╗ ██████╗ ██╗   ██╗\n                       ██║██╔════╝██╔══██╗██╔══██╗╚██╗ ██╔╝\n                       ██║█████╗  ██████╔╝██████╔╝ ╚████╔╝\n                  ██   ██║██╔══╝  ██╔══██╗██╔══██╗  ╚██╔╝\n                  ╚█████╔╝███████╗██║  ██║██║  ██║   ██║\n                   ╚════╝ ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝\n\n            Your friendly helper to the world of gitflow on jira!\n```\n\n*DISCLAIMER:* Jerry is a small command-line tool used to aid my day-to-day workflow using jira\nand github. I'm not sure how useful it will be for anyone else not working the same way.\n\n## Installation\n\nClone this repo locally:\n\n    git clone https://github.com/robhurring/jerry.git\n\nInstall dependencies:\n\n    `npm install`\n\nInstall the package:\n\n    `npm link`\n\nConfiguring:\n\n    Run the command `jerry` to run the setup wizard.\n\n  A few things to note:\n\n  * This uses Jira's OnDemand login since I do not have an oauth application setup.\n  * If GitHub is giving you validation issues, make sure to go into [application settings](https://github.com/settings/applications) and remove and old `Jerry CLI` tokens.\n  * This makes a _lot_ of assumptions. You can edit some of these in the `~/.jerry.json` config file after running the setup wizard.\n  * If you ask jerry about tickets without the project prefix he will prefix the `config.defaultProject` in front of it before looking it up.\n\n## Commands\n\n#### Branch (alias: br)\n\nThe branch command will take a TICKET_ID param and create a named branch for you in your current repo.\n\n###### Options\n\n* **--preview, -p** Show what the generated branch name would be.\n* **--copy, -c** Copy the generated branch name to the clipboard.\n\n###### Example\n\n```\n$ jerry branch PL-4\n$ Switched to branch PL-4_some_truncated_ticket_summary_here\n```\n\n**NOTE:** Jerry will also scan your existing local branches to see if there is already a branch made starting with the ticket `pl-4` (case insensitive). If it finds something matching the given ticket, it will check out the existing branch rather than creating a new one. This should avoid some annoying collision issues.\n\n#### Info (alias: in)\n\nPrint some basic information about a given ticket. If not ticket is passed in through the args list jerry will check your current branch and extract the ticket from there.\n\n###### Example\n\n```\n$ jerry info pl-4\n\nPL-4: Some ticket title here.\nhttps://company.atlassian.net/browse/PL-4\n\nCreator: Rob Hurring\nAssigned: Nobody\nCode Reviewer: Nobody\n\nStatus: New\n\nHey developer, theres awful bugs all over. Fix them, then go get some\nice cream or something\n```\n\nOr if you are in a git repo and on a feature branch\n\n```\n$ git checkout -b PL-4_some_feature_branch\n$ jerry info\n\nPL-4: Some ticket title here.\nhttps://company.atlassian.net/browse/PL-4\n\nCreator: Rob Hurring\nAssigned: Nobody\nCode Reviewer: Nobody\n\nStatus: New\n\nHey developer, theres awful bugs all over. Fix them, then go get some\nice cream or something\n```\n\n#### Pull-Request (alias: pr)\n\nIf you are on a feature branch Jerry can help you open a fleshed-out pull-request. If you are the lazy-type, this is really the best feature.\n\nJerry will detect the ticket from your branch name, lookup some basic details about the ticket from Jira and use that info to build out a pull-request. If all goes well, it will open a browser window to your new PR so you can do some adjustments.\n\n###### Options\n\n* **--base=BRANCH** This will set the base of the pull-request to `BRANCH`. It will be your `config.defaultBranch` otherwise\n* **--remote=REMOTE** This will set the remote of the pull-request to `REMOTE`. It will be your `config.defaultRemote` otherwise\n* **--preview** Preview what will be the title and body of the pull-request.\n\n###### Example\n\n```\n$ git checkout -b PL-4\n$ jerry pull-request\n\nPL-4: Some awesome feature request here\nhttps://github.com/user/repo/pulls/1\n```\n\n*NOTE:* This is still a work-in-progress and is a little bit flaky right now.\n\n#### Open (alias: o)\n\nOpen the given ticket in the browser. Jerry will extract the ticket ID from the feature branch if possible and no ID was given in the args.\n\n```\n$ jerry open pl-4\nhttp://company.atlassian.net/browse/PL-4\n```\n\n#### Copy (alias: cp)\n\nCopy the given ticket to the clipboard. Jerry will extract the ticket ID from the feature branch if possible and no ID was given in the args.\n\n```\n$ jerry cp pl-4\nCopied! http://company.atlassian.net/browse/PL-4\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/robhurring/jerry/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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobhurring%2Fjerry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobhurring%2Fjerry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobhurring%2Fjerry/lists"}