{"id":401817,"date":"2024-06-29T16:06:24","date_gmt":"2024-06-29T16:06:24","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=401817"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T16:06:24","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=401817","title":{"rendered":"<span>Jira CLI: Interactive Command-line Tool for Atlassian Jira<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><em>A similar version of this post first appeared in <\/em><a href=\"https:\/\/medium.com\/@ankitpokhrel\/introducing-jira-cli-the-missing-command-line-tool-for-atlassian-jira-fe44982cc1de\" rel=\"noopener noreferrer nofollow\"><em>Medium<\/em><\/a><em> and <\/em><a href=\"https:\/\/dev.to\/konsole\/jira-cli-the-missing-command-line-tool-for-atlassian-jira-2n2i\" rel=\"noopener noreferrer nofollow\"><em>dev.to<\/em><\/a><em>.<\/em><\/p>\n<div class=\"embed_link\">\n<div class=\"embed__thumb\" style=\"background-image: url(&quot;https:\/\/opengraph.githubassets.com\/2f40297b506bfbca2793023b108e90541364882866d803a9d03ad33e202a9c12\/ankitpokhrel\/jira-cli&quot;);\"><\/div>\n<div class=\"embed__caption\">\n<div class=\"embed__caption-title\"><span>GitHub &#8212; ankitpokhrel\/jira-cli: ? [WIP] Feature-rich interactive Jira command line.<\/span><\/div>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"embed__caption-link\">github.com<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">JiraCLI<\/a> is an interactive command line tool for Atlassian Jira that will help you avoid Jira UI to some extent. This tool is not yet considered complete but has all the essential features required to improve your workflow with Jira.<\/p>\n<p>The tool started with the idea of making issue search and navigation as straightforward as possible. However, with the help of <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#support-the-project\" rel=\"noopener noreferrer nofollow\">outstanding supporters like you<\/a>, we evolved, and the tool now includes all necessary features like issue creation, cloning, linking, ticket transition, and much more.<\/p>\n<h3>TLDR; Features Highlight<\/h3>\n<ul>\n<li>\n<p>Interactive mode + an option to easily integrate with shell\/automation scripts using standard <a href=\"https:\/\/www.gnu.org\/software\/libc\/manual\/html_node\/Argument-Syntax.html\" rel=\"noopener noreferrer nofollow\">POSIX-complaint<\/a> flags.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#list\" rel=\"noopener noreferrer nofollow\">Easy search<\/a> and navigation. For instance, you can easily search for something like \u201c_Issues that are of high priority, is in progress, was created this month, and has a label called backend_\u201d with <code>jira issue list -yHigh -s\"In Progress\" --created month -lbackend<\/code><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#create\" rel=\"noopener noreferrer nofollow\">Create a neat Jira ticket<\/a> (and <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#comment\" rel=\"noopener noreferrer nofollow\">comment<\/a>) using <a href=\"https:\/\/github.github.com\/gfm\/\" rel=\"noopener noreferrer nofollow\">Github-flavored<\/a> + <a href=\"https:\/\/jira.atlassian.com\/secure\/WikiRendererHelpAction.jspa?section=all\" rel=\"noopener noreferrer nofollow\">Jira-flavored<\/a> markdown as a template. Supports pre-defined templates.<\/p>\n<\/li>\n<li>\n<p>The ticket details are translated to <a href=\"https:\/\/github.github.com\/gfm\/\" rel=\"noopener noreferrer nofollow\">markdown<\/a> from the <a href=\"https:\/\/developer.atlassian.com\/cloud\/jira\/platform\/apis\/document\/structure\/\" rel=\"noopener noreferrer nofollow\">Atlassian document<\/a> and is <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#view\" rel=\"noopener noreferrer nofollow\">beautifully displayed<\/a> on the screen when you view it.<\/p>\n<\/li>\n<li>\n<p>Easy <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#sprint\" rel=\"noopener noreferrer nofollow\">sprint<\/a> and <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#epic\" rel=\"noopener noreferrer nofollow\">epic<\/a> navigation. You can quickly view tickets in previous, current, and next sprint tickets using flags like <code>--prev<\/code>, <code>--next<\/code>, and <code>--current<\/code> eg: <code>jira sprint list --current<\/code>.<\/p>\n<\/li>\n<li>\n<p>Fast and straightforward <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#clone\" rel=\"noopener noreferrer nofollow\">ticket cloning<\/a> with the ability to replace text in summary and description.<\/p>\n<\/li>\n<li>\n<p>You can <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#edit\" rel=\"noopener noreferrer nofollow\">edit<\/a>, <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#link\" rel=\"noopener noreferrer nofollow\">link<\/a>, <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#assign\" rel=\"noopener noreferrer nofollow\">assign<\/a> and <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#movetransition\" rel=\"noopener noreferrer nofollow\">transition<\/a> the issues with ease.<\/p>\n<\/li>\n<li>\n<p>Supports multiple Jira servers using <code>--config<\/code> flag or <code>XDG_CONFIG_HOME<\/code> env.<\/p>\n<\/li>\n<\/ul>\n<blockquote>\n<p><em>The <\/em><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/releases\" rel=\"noopener noreferrer nofollow\"><em>latest release<\/em><\/a><em> of the tool supports on-premise jira installation.<\/em><\/p>\n<\/blockquote>\n<h3>Searching for an Issue<\/h3>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">JiraCLI<\/a> makes searching for an issue as easy as it should be. The lists are displayed in an interactive UI and can be navigated easily to perform actions like viewing, navigating, and copying issue keys\/links.<\/p>\n<p>The examples below shows how easy it is to look for an issue. See more examples <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">here<\/a>.<\/p>\n<pre><code># List issues that I am watching in the current board $ jira issue list -w  # List issues assigned to me $ jira issue list -a$(jira me)  # List issues created within an hour and updated in the last 30 minutes\ufe0f $ jira issue list --created -1h --updated -30m  # Give me issues that are of high priority, is in progress, was created this month, and has given labels ? $ jira issue list -yHigh -s\"In Progress\" --created month -lbackend -l\"high prio\"  # Wait, what was that ticket I opened earlier today? ? $ jira issue list --history# What was the first issue I ever reported on the current board? ? $ jira issue list -r$(jira me) --reverse  # What was the first bug I ever fixed in the current board? ? $ jira issue list -a$(jira me) -tBug sDone -rFixed --reverse  # What issues did I report this week? ?\u200d\u2642\ufe0f $ jira issue list -r$(jira me) --created week<\/code><\/pre>\n<h3>Creating an Issue<\/h3>\n<p>The <code>create<\/code> command lets you create an issue and supports Github-flavored and Jira-flavored markdown for writing descriptions. You can load pre-defined templates using <code>--template<\/code> flag.<\/p>\n<pre><code># Create an issue using interactive prompt $ jira issue create  # Pass required parameters to skip prompt or use --no-input option $ jira issue create -tBug -s\"New Bug\" -yHigh -lbug -lurgent -b\"Bug description\"  # Load description from template file $ jira issue create --template \/path\/to\/template.tmpl<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0f8\/31f\/4e6\/0f831f4e67cd420c140c6b519c563966.gif\" alt=\"\" title=\"\" width=\"960\" height=\"205\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0f8\/31f\/4e6\/0f831f4e67cd420c140c6b519c563966.gif\"\/><figcaption><\/figcaption><\/figure>\n<p>The preview below shows the markdown template passed in JiraCLI and the way it is rendered in the Jira UI.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/d24\/d50\/1f6\/d24d501f6c29cd8021020041746448a9.jpeg\" width=\"1200\" height=\"814\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d24\/d50\/1f6\/d24d501f6c29cd8021020041746448a9.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<h3>Viewing an Issue<\/h3>\n<p>The <code>view<\/code> command lets you see issue details in a terminal. Atlassian document is roughly converted to a markdown and is nicely displayed in the terminal.<\/p>\n<pre><code>$ jira issue view ISSUE-1<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5f9\/8db\/03c\/5f98db03cca40ee957ed7d8937afb190.gif\" width=\"960\" height=\"553\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5f9\/8db\/03c\/5f98db03cca40ee957ed7d8937afb190.gif\"\/><figcaption><\/figcaption><\/figure>\n<h3>Assigning a user to an issue<\/h3>\n<p>The <code>assign<\/code> command lets you easily assign and unassign users to and from the issue.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/be9\/1e1\/9b7\/be91e19b7322be95b647abc0d2180817.gif\" width=\"960\" height=\"218\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/be9\/1e1\/9b7\/be91e19b7322be95b647abc0d2180817.gif\"\/><figcaption><\/figcaption><\/figure>\n<pre><code># Assign user to an issue using interactive prompt $ jira issue assign  # Pass required parameters to skip prompt $ jira issue assign ISSUE-1 \"Jon Doe\"  # Assign to self $ jira issue assign ISSUE-1 $(jira me)  # Will prompt for selection if keyword suffix returns multiple entries $ jira issue assign ISSUE-1 suffix  # Assign to default assignee $ jira issue assign ISSUE-1 default  # Unassign $ jira issue assign ISSUE-1 x<\/code><\/pre>\n<h3>Cloning an Issue<\/h3>\n<p>The <code>clone<\/code> command lets you clone an issue. You can update fields like summary, priority, assignee, labels, and components when cloning the issue. The command also allows you to replace a part of the string (case-sensitive) in summary and description using <code>--replace\/-H<\/code> option.<\/p>\n<pre><code># Clone an issue $ jira issue clone ISSUE-1  # Clone issue and modify the summary, priority and assignee $ jira issue clone ISSUE-1 -s\"Modified summary\" -yHigh -a$(jira me)  # Clone issue and replace text from summary and description $ jira issue clone ISSUE-1 -H\"find-me:replace-with-me\"<\/code><\/pre>\n<h3>Sprints<\/h3>\n<p>Sprints are displayed in an explorer view by default. You can output the results in a table view using the <code>--table<\/code> flag. When viewing sprint issues, you can use all filters available for the issue command. You can quickly view tickets in previous, current, and next sprint tickets using flags like <code>--prev<\/code>, <code>--next<\/code>, and <code>--current<\/code>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/75b\/e0e\/a75\/75be0ea75f26c6b372c7ce77bf867cbf.gif\" width=\"1305\" height=\"744\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/75b\/e0e\/a75\/75be0ea75f26c6b372c7ce77bf867cbf.gif\"\/><figcaption><\/figcaption><\/figure>\n<pre><code># Display sprints in an interactive list $ jira sprint list  # Display tickets in the current active sprint $ jira sprint list --current  # Display tickets in the previous sprint $ jira sprint list --prev  # Display tickets of a particular sprint $ jira sprint list <\/code><\/pre>\n<h3>Learn more<\/h3>\n<p>Check out <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">the project page<\/a> to view the full set of features and learn more about the project.<\/p>\n<p>Your suggestions and feedback is highly appreciated. Feel free to <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/discussions\" rel=\"noopener noreferrer nofollow\">start a discussion<\/a> or <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/issues\/new\" rel=\"noopener noreferrer nofollow\">create an issue<\/a> to share your experience about the tool or to discuss a feature\/issue. If you think this project is useful, consider contributing by <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/stargazers\" rel=\"noopener noreferrer nofollow\">starring the repo<\/a>, sharing with your friends, or submitting a PR.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/587360\/\"> https:\/\/habr.com\/ru\/articles\/587360\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><em>A similar version of this post first appeared in <\/em><a href=\"https:\/\/medium.com\/@ankitpokhrel\/introducing-jira-cli-the-missing-command-line-tool-for-atlassian-jira-fe44982cc1de\" rel=\"noopener noreferrer nofollow\"><em>Medium<\/em><\/a><em> and <\/em><a href=\"https:\/\/dev.to\/konsole\/jira-cli-the-missing-command-line-tool-for-atlassian-jira-2n2i\" rel=\"noopener noreferrer nofollow\"><em>dev.to<\/em><\/a><em>.<\/em><\/p>\n<div class=\"embed_link\">\n<div class=\"embed__thumb\" style=\"background-image: url(&quot;https:\/\/opengraph.githubassets.com\/2f40297b506bfbca2793023b108e90541364882866d803a9d03ad33e202a9c12\/ankitpokhrel\/jira-cli&quot;);\"><\/div>\n<div class=\"embed__caption\">\n<div class=\"embed__caption-title\"><span>GitHub &#8212; ankitpokhrel\/jira-cli: ? [WIP] Feature-rich interactive Jira command line.<\/span><\/div>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"embed__caption-link\">github.com<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">JiraCLI<\/a> is an interactive command line tool for Atlassian Jira that will help you avoid Jira UI to some extent. This tool is not yet considered complete but has all the essential features required to improve your workflow with Jira.<\/p>\n<p>The tool started with the idea of making issue search and navigation as straightforward as possible. However, with the help of <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#support-the-project\" rel=\"noopener noreferrer nofollow\">outstanding supporters like you<\/a>, we evolved, and the tool now includes all necessary features like issue creation, cloning, linking, ticket transition, and much more.<\/p>\n<h3>TLDR; Features Highlight<\/h3>\n<ul>\n<li>\n<p>Interactive mode + an option to easily integrate with shell\/automation scripts using standard <a href=\"https:\/\/www.gnu.org\/software\/libc\/manual\/html_node\/Argument-Syntax.html\" rel=\"noopener noreferrer nofollow\">POSIX-complaint<\/a> flags.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#list\" rel=\"noopener noreferrer nofollow\">Easy search<\/a> and navigation. For instance, you can easily search for something like \u201c_Issues that are of high priority, is in progress, was created this month, and has a label called backend_\u201d with <code>jira issue list -yHigh -s\"In Progress\" --created month -lbackend<\/code><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#create\" rel=\"noopener noreferrer nofollow\">Create a neat Jira ticket<\/a> (and <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#comment\" rel=\"noopener noreferrer nofollow\">comment<\/a>) using <a href=\"https:\/\/github.github.com\/gfm\/\" rel=\"noopener noreferrer nofollow\">Github-flavored<\/a> + <a href=\"https:\/\/jira.atlassian.com\/secure\/WikiRendererHelpAction.jspa?section=all\" rel=\"noopener noreferrer nofollow\">Jira-flavored<\/a> markdown as a template. Supports pre-defined templates.<\/p>\n<\/li>\n<li>\n<p>The ticket details are translated to <a href=\"https:\/\/github.github.com\/gfm\/\" rel=\"noopener noreferrer nofollow\">markdown<\/a> from the <a href=\"https:\/\/developer.atlassian.com\/cloud\/jira\/platform\/apis\/document\/structure\/\" rel=\"noopener noreferrer nofollow\">Atlassian document<\/a> and is <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#view\" rel=\"noopener noreferrer nofollow\">beautifully displayed<\/a> on the screen when you view it.<\/p>\n<\/li>\n<li>\n<p>Easy <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#sprint\" rel=\"noopener noreferrer nofollow\">sprint<\/a> and <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#epic\" rel=\"noopener noreferrer nofollow\">epic<\/a> navigation. You can quickly view tickets in previous, current, and next sprint tickets using flags like <code>--prev<\/code>, <code>--next<\/code>, and <code>--current<\/code> eg: <code>jira sprint list --current<\/code>.<\/p>\n<\/li>\n<li>\n<p>Fast and straightforward <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/#clone\" rel=\"noopener noreferrer nofollow\">ticket cloning<\/a> with the ability to replace text in summary and description.<\/p>\n<\/li>\n<li>\n<p>You can <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#edit\" rel=\"noopener noreferrer nofollow\">edit<\/a>, <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#link\" rel=\"noopener noreferrer nofollow\">link<\/a>, <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#assign\" rel=\"noopener noreferrer nofollow\">assign<\/a> and <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli#movetransition\" rel=\"noopener noreferrer nofollow\">transition<\/a> the issues with ease.<\/p>\n<\/li>\n<li>\n<p>Supports multiple Jira servers using <code>--config<\/code> flag or <code>XDG_CONFIG_HOME<\/code> env.<\/p>\n<\/li>\n<\/ul>\n<blockquote>\n<p><em>The <\/em><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/releases\" rel=\"noopener noreferrer nofollow\"><em>latest release<\/em><\/a><em> of the tool supports on-premise jira installation.<\/em><\/p>\n<\/blockquote>\n<h3>Searching for an Issue<\/h3>\n<p><a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">JiraCLI<\/a> makes searching for an issue as easy as it should be. The lists are displayed in an interactive UI and can be navigated easily to perform actions like viewing, navigating, and copying issue keys\/links.<\/p>\n<p>The examples below shows how easy it is to look for an issue. See more examples <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">here<\/a>.<\/p>\n<pre><code># List issues that I am watching in the current board $ jira issue list -w  # List issues assigned to me $ jira issue list -a$(jira me)  # List issues created within an hour and updated in the last 30 minutes\ufe0f $ jira issue list --created -1h --updated -30m  # Give me issues that are of high priority, is in progress, was created this month, and has given labels ? $ jira issue list -yHigh -s\"In Progress\" --created month -lbackend -l\"high prio\"  # Wait, what was that ticket I opened earlier today? ? $ jira issue list --history# What was the first issue I ever reported on the current board? ? $ jira issue list -r$(jira me) --reverse  # What was the first bug I ever fixed in the current board? ? $ jira issue list -a$(jira me) -tBug sDone -rFixed --reverse  # What issues did I report this week? ?\u200d\u2642\ufe0f $ jira issue list -r$(jira me) --created week<\/code><\/pre>\n<h3>Creating an Issue<\/h3>\n<p>The <code>create<\/code> command lets you create an issue and supports Github-flavored and Jira-flavored markdown for writing descriptions. You can load pre-defined templates using <code>--template<\/code> flag.<\/p>\n<pre><code># Create an issue using interactive prompt $ jira issue create  # Pass required parameters to skip prompt or use --no-input option $ jira issue create -tBug -s\"New Bug\" -yHigh -lbug -lurgent -b\"Bug description\"  # Load description from template file $ jira issue create --template \/path\/to\/template.tmpl<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>The preview below shows the markdown template passed in JiraCLI and the way it is rendered in the Jira UI.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>Viewing an Issue<\/h3>\n<p>The <code>view<\/code> command lets you see issue details in a terminal. Atlassian document is roughly converted to a markdown and is nicely displayed in the terminal.<\/p>\n<pre><code>$ jira issue view ISSUE-1<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>Assigning a user to an issue<\/h3>\n<p>The <code>assign<\/code> command lets you easily assign and unassign users to and from the issue.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code># Assign user to an issue using interactive prompt $ jira issue assign  # Pass required parameters to skip prompt $ jira issue assign ISSUE-1 \"Jon Doe\"  # Assign to self $ jira issue assign ISSUE-1 $(jira me)  # Will prompt for selection if keyword suffix returns multiple entries $ jira issue assign ISSUE-1 suffix  # Assign to default assignee $ jira issue assign ISSUE-1 default  # Unassign $ jira issue assign ISSUE-1 x<\/code><\/pre>\n<h3>Cloning an Issue<\/h3>\n<p>The <code>clone<\/code> command lets you clone an issue. You can update fields like summary, priority, assignee, labels, and components when cloning the issue. The command also allows you to replace a part of the string (case-sensitive) in summary and description using <code>--replace\/-H<\/code> option.<\/p>\n<pre><code># Clone an issue $ jira issue clone ISSUE-1  # Clone issue and modify the summary, priority and assignee $ jira issue clone ISSUE-1 -s\"Modified summary\" -yHigh -a$(jira me)  # Clone issue and replace text from summary and description $ jira issue clone ISSUE-1 -H\"find-me:replace-with-me\"<\/code><\/pre>\n<h3>Sprints<\/h3>\n<p>Sprints are displayed in an explorer view by default. You can output the results in a table view using the <code>--table<\/code> flag. When viewing sprint issues, you can use all filters available for the issue command. You can quickly view tickets in previous, current, and next sprint tickets using flags like <code>--prev<\/code>, <code>--next<\/code>, and <code>--current<\/code>.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code># Display sprints in an interactive list $ jira sprint list  # Display tickets in the current active sprint $ jira sprint list --current  # Display tickets in the previous sprint $ jira sprint list --prev  # Display tickets of a particular sprint $ jira sprint list <\/code><\/pre>\n<h3>Learn more<\/h3>\n<p>Check out <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\" rel=\"noopener noreferrer nofollow\">the project page<\/a> to view the full set of features and learn more about the project.<\/p>\n<p>Your suggestions and feedback is highly appreciated. Feel free to <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/discussions\" rel=\"noopener noreferrer nofollow\">start a discussion<\/a> or <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/issues\/new\" rel=\"noopener noreferrer nofollow\">create an issue<\/a> to share your experience about the tool or to discuss a feature\/issue. If you think this project is useful, consider contributing by <a href=\"https:\/\/github.com\/ankitpokhrel\/jira-cli\/stargazers\" rel=\"noopener noreferrer nofollow\">starring the repo<\/a>, sharing with your friends, or submitting a PR.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/587360\/\"> https:\/\/habr.com\/ru\/articles\/587360\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-401817","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/401817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=401817"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/401817\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}