{"id":14155107,"url":"https://github.com/amritghimire/jira-terminal","last_synced_at":"2025-05-16T05:04:31.883Z","repository":{"id":44595677,"uuid":"363596049","full_name":"amritghimire/jira-terminal","owner":"amritghimire","description":"The application that can be used for personal usage to manage jira from terminal.","archived":false,"fork":false,"pushed_at":"2025-01-03T05:32:29.000Z","size":1773,"stargazers_count":142,"open_issues_count":5,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-09T10:11:32.251Z","etag":null,"topics":["cli","command-line","hacktoberfest","hacktoberfest-accepted","jira","jira-terminal","rust","terminal","ticket"],"latest_commit_sha":null,"homepage":"http://amritghimire.com/jira-terminal/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amritghimire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"liberapay":"amritghimire"}},"created_at":"2021-05-02T07:50:34.000Z","updated_at":"2025-04-08T18:30:51.000Z","dependencies_parsed_at":"2024-04-08T13:27:19.427Z","dependency_job_id":"99834677-ec4d-4295-8401-a7e9cf117e6a","html_url":"https://github.com/amritghimire/jira-terminal","commit_stats":{"total_commits":58,"total_committers":5,"mean_commits":11.6,"dds":"0.22413793103448276","last_synced_commit":"f048c774d6c710169e1d328758287b9934987344"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amritghimire%2Fjira-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amritghimire%2Fjira-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amritghimire%2Fjira-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amritghimire%2Fjira-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amritghimire","download_url":"https://codeload.github.com/amritghimire/jira-terminal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471060,"owners_count":22076585,"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","command-line","hacktoberfest","hacktoberfest-accepted","jira","jira-terminal","rust","terminal","ticket"],"created_at":"2024-08-17T08:01:56.668Z","updated_at":"2025-05-16T05:04:31.866Z","avatar_url":"https://github.com/amritghimire.png","language":"Rust","funding_links":["https://liberapay.com/amritghimire"],"categories":["cli"],"sub_categories":[],"readme":"## Jira Terminal\n\nThis application can be used for personal usage to manage jira from terminal.\n\n## Installation\n\nThis application can be used in multiple platform.\n\n### MacOS\nThis package is available in brew as `jira-terminal`. You can install it with following command:\n```\nbrew tap amritghimire/jira-terminal \nbrew install jira-terminal\n```\n\n### Arch Linux\nThis package is available in aur repository as [jira-terminal-bin](https://aur.archlinux.org/packages/jira-terminal-bin/)\n\n### Debian/Ubuntu\nOn debian based system, the deb file is available in [releases](https://github.com/amritghimire/jira-terminal/releases). You can download latest release from there. Please make sure libc is installed in your system.\n\n### Cargo\nIf you already have a Rust environment set up, you can use the cargo install command:\n```cargo install jira-terminal```\n\nCargo will build the jira-terminal binary and place it in $HOME/.cargo/bin.\nYou can also setup Rust toolchain from [Rust official site](https://www.rust-lang.org/tools/install)\n\n### Manual Installation from Github\nCompiled binary versions of jira-terminal are uploaded to GitHub when a release is made. You can install jira-terminal manually by [downloading a release](https://github.com/amritghimire/jira-terminal/releases) , extracting it, and copying the binary to a directory in your $PATH, such as /usr/local/bin.\n\n\n## Autocompletion Script\nThe autocompletion script can be found in [the release section](https://github.com/amritghimire/jira-terminal/releases).\nYou can download the autocompletion script from there or use our application to generate the script.\nTo generate the script, run:\n\n```bash\njira-terminal autocompletion --shell [zsh|bash|fish|powershell|elvish] \u003e _jira.terminal\n```\nDepending on your shell, you can move your autocompletion file to the following location:\n- *ZSH* - `/usr/share/zsh/site-functions/_jira-terminal`\n- *BASH* - `/usr/share/bash-completion/completions/_jira-terminal`\n- *Fish* - `/share/fish/vendor_completions.d/_jira-terminal`\n\n\n## Usage\nWhen running the application for first time, you will be asked with following values.\n- hostname [This will be used to identify the jira hostname to be used.]\n- email [Email address you use to login with the application.]\n- token [You can obtain the app password from the link specified in the application]\n\nAfter that, you can use following commands for help.\n```\njira-terminal help\njira-terminal help list\njira-terminal help transition\njira-terminal help alias\njira-terminal help detail\njira-terminal help fields\njira-terminal help update\njira-terminal help new\njira-terminal help assign\njira-terminal help comment\njira-terminal help autocompletion\n```\n\n```\nJIRA Terminal 2.0.0\nAmrit Ghimire \u003coss@amritghimire.com\u003e\nThis is a command line application that can be used as a personal productivity tool for interacting with JIRA\n\nUSAGE:\n    jira-terminal [SUBCOMMAND]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nSUBCOMMANDS:\n    alias             Configuration for alias. One of add,list or remove is required.\n    assign            Assign a ticket to user.\n    autocompletion    Generate autocompletion script..\n    comment           List or add comments to a ticket. Default action is adding.\n    detail            Detail of a JIRA tickets..\n    fields            List of possible Fields for details...\n    help              Prints this message or the help of the given subcommand(s)\n    list              List the issues from JIRA.\n    new               Create a new ticket.\n    transition        Transition of ticket across status.\n    update            Update a field for a ticket\n    logout            Erase configuration and log out of Jira\n```\n\n### List of Tickets\n```\n\njira-terminal-list \nList the issues from JIRA.\n\nUSAGE:\n    jira-terminal list [FLAGS] [OPTIONS]\n\nFLAGS:\n    -h, --help       Prints help information\n    -J, --json       JSON response\n    -M, --me         Issues assigned to you.\n    -V, --version    Prints version information\n\nOPTIONS:\n    -A, --alias \u003cALIAS\u003e               Save the applied options as an alias. You can use it with jql option later.\n    -a, --assignee \u003cASSIGNEE\u003e...       Assignee username or email to filter with.\n    -c, --component \u003cCOMPONENT\u003e...    Component name or ID to filter with.\n    -C, --count \u003cCOUNT\u003e               Total number of issues to show. (Default is 50)\n    -d, --display \u003cDISPLAY\u003e            Comma separated list of fields to display.\n                                      Possible options for fields are:\n                                      key,resolution,priority,assignee,status,components,creator,reporter,issuetype,project,summary\n                                      \n                                      You can pass alias as option for display. You can save alias using alias\n                                      subcommand for the application.\n                                      \n                                       Default options are\n                                       key,summary,status,assignee\n                                                         \n    -e, --epic \u003cEPIC\u003e...              EPIC name or issue key of epic to filter with.\n    -f, --filter \u003cFILTER\u003e...          Filter name or filter id that you saved in JIRA.\n    -j, --jql \u003cJQL\u003e                   JQL Query or alias to JQL query to filter with.\n    -l, --label \u003cLABEL\u003e...            Search for issues with a label or list of labels.\n    -o, --offset \u003cOFFSET\u003e             Offset to start the first item to return in a page of results. (Default is 0)\n    -m, --main \u003cPARENT\u003e...            Search for subtask of a particular issue.\n    -P, --priority \u003cPRIORITY\u003e...      Search for issues with a particular priority.\n    -p, --project \u003cPROJECT\u003e...        Project Code to filter with.\n    -r, --reporter \u003cREPORTER\u003e...      Search for issues that were reported by a particular user.\n    -s, --sprint \u003cSPRINT\u003e...          Search for issues that are assigned to a particular sprint.\n    -S, --status \u003cSTATUS\u003e...          Search for issues that have a particular status.\n    -T, --text \u003cTEXT\u003e                 This is a master-field that allows you to search all text fields for issues.\n    -t, --type \u003cTYPE\u003e...              Search for issues that have a particular issue type. \n\nYou can specify the following fields multiple time to filter by multiple values.\nassignee, component, epic, filter, label, main, priority, project, reporter, sprint, status, type.\n\nFor example to fetch list of tickets in Backlog and In progress, you can use\njira-terminal list -s Backlog -s 'In Progress'\n```\n\n\n### Transition\n\n```\njira-terminal-transition \nTransition of ticket across status.\n\nUSAGE:\n    jira-terminal transition [FLAGS] \u003cSTATUS\u003e --ticket \u003cTICKET\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -l, --list       List the possible transitions.\n    -V, --version    Prints version information\n\nOPTIONS:\n    -t, --ticket \u003cTICKET\u003e    Ticket ID from JIRA.\n\nARGS:\n    \u003cSTATUS\u003e    Status or alias of status to move the ticket to.\n\n```\n\n\n### Alias\n```\njira-terminal-alias \nConfiguration for alias. One of add,list or remove is required.\n\nUSAGE:\n    jira-terminal alias [FLAGS] \u003cNAME\u003e --add \u003cadd\u003e --list --remove\n\nFLAGS:\n    -h, --help       Prints help information\n    -l, --list       List the alias saved.\n    -r, --remove     List the alias saved.\n    -V, --version    Prints version information\n\nOPTIONS:\n    -a, --add \u003cadd\u003e    Value to associate with provided alias name.\n\nARGS:\n    \u003cNAME\u003e    Name of alias. (Required except for list option)\n```\n\nSample usage:\n- `jira-terminal alias -l`\n- `jira-terminal alias alias_name -a \"Alias Value\"`\n- `jira-terminal alias -r alias_name` \n\n### Detail\n```\njira-terminal-detail \nDetail of a JIRA tickets..\n\nUSAGE:\n    jira-terminal detail [OPTIONS] \u003cTICKET\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -f, --fields \u003cfields\u003e    Comma separated lists of fields or alias to show.\n                             Possible options are: \n                             key,summary,description,status,issuetype,priority,labels,assignee,components,creator,reporter,project,comment\n                             \n                             You can use all to show all fields.\n                             Default selection are:\n                             key,summary,description\n                                                 \n\nARGS:\n    \u003cTICKET\u003e    Ticket id for details.\n\n```\n\n### Fields\n```\njira-terminal-fields \nList of possible Fields for details...\n\nUSAGE:\n    jira-terminal fields \u003cTICKET\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nARGS:\n    \u003cTICKET\u003e    Ticket id for details.\n```\n\n### Update\n```\njira-terminal-update \nUpdate a field for a ticket\n\nUSAGE:\n    jira-terminal update \u003cTICKET\u003e --field \u003cfield\u003e --value \u003cvalue\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -f, --field \u003cfield\u003e    Key of field to update. You can use jira-terminal fields \u003cTICKET\u003e to see possible set of\n                           keys.\n    -v, --value \u003cvalue\u003e    Value of the field to update.\n\nARGS:\n    \u003cTICKET\u003e    Ticket ID to update\n```\n\n\n### New\n```\njira-terminal-new \nCreate a new ticket.\n\nUSAGE:\n    jira-terminal new [FLAGS] [OPTIONS] --main \u003cmain\u003e --project \u003cproject\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -M, --minimal    Only summary and description will be asked if not available.\n    -q, --quiet      Do not ask for missing options.\n    -V, --version    Prints version information\n\nOPTIONS:\n    -a, --assignee \u003cassignee\u003e          Assignee email of ticket\n    -c, --components \u003ccomponents\u003e      Comma separated list of components of ticket\n    -C, --custom \u003ccustom\u003e              Comma separated value pair for custom fields. You can use alias in value or key\n                                       itself. Example- \"customfield_12305:value,alias_to_key:value2. You can use fields\n                                       subcommand to check the list of custom fields available. \n    -d, --description \u003cdescription\u003e    Description of ticket\n    -l, --labels \u003clabels\u003e              Comma separated list of labels.\n    -m, --main \u003cmain\u003e                  Main ticket to create the sub-ticket.\n    -p, --priority \u003cpriority\u003e          Priority Of the ticket.\n    -P, --project \u003cproject\u003e            Project Key to create the ticket.\n    -s, --summary \u003csummary\u003e            Summary of ticket\n    -t, --type \u003ctype\u003e                  Issue type for new ticket.\n```\n\n### Assign\n```\njira-terminal-assign \nAssign a ticket to user.\n\nUSAGE:\n    jira-terminal assign --ticket \u003cticket\u003e --user \u003cuser\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -t, --ticket \u003cticket\u003e    Ticket to use.\n    -u, --user \u003cuser\u003e        Assign the ticket to the provided user.\n```\n\n### Comment\n```\njira-terminal-comment \nList or add comments to a ticket. Default action is adding.\n\nUSAGE:\n    jira-terminal comment [FLAGS] [OPTIONS] --ticket \u003cticket\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -l, --list       List all the comments of a ticket.\n    -V, --version    Prints version information\n\nOPTIONS:\n    -b, --body \u003cbody\u003e        Body of the comment. To mention someone, you can use @(query) The query can include jira\n                             username or display name or email address.\n    -t, --ticket \u003cticket\u003e    Ticket to use.\n```\n\n## Notes\n- The credentials and other configuration are stored in a file `~/.jira_terminal_configuration.json`. The base64 encoded version of credentials are only written in the configuration file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famritghimire%2Fjira-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famritghimire%2Fjira-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famritghimire%2Fjira-terminal/lists"}