Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
sycured edited this page Aug 30, 2022 · 4 revisions

add_label

Aliases:

  • al
  • add-label

Add a label to an issue

argument environment variable name multiple values (comma separated)
issue_key x
label JIRA_LABEL

How to add the same label to multiples issues

export JIRA_LABEL=Security
jira_cli issue add_label SYY-1025,SYY-1026,SYY-1030,SYY-1035

add_version

Aliases:

  • av
  • add-version

Add version to an issue

argument environment variable name multiple values (comma separated)
issue_key x
version_name JIRA_VERSION_NAME

How to add the same version to multiple issues

export JIRA_VERSION_NAME=v1.0.0
jira_cli issue add_version SYY-1025,SYY-1026,SYY-1030,SYY-1035

add_vote

Aliases:

  • avo
  • add-vote

Add a vote to an issue

argument
issue_key

assign

Alias: a

Assign an issue to a user

argument environment variable name required
issue_key x
account_id JIRA_ASSIGN_ACCOUNT_ID x

create

Alias: c

Create an issue

argument environment variable name required
issue_type x
issue_summary x
issue_description x
reporter_account_id x
issue_priority
project_key JIRA_PROJECT_KEY x

To have the list of issue_priority, you have to use: jira_cli issue list_priorities

The default value for issue_priority is the one defined in Jira.

create_link_type

Aliases:

  • clt
  • create-link-type

Create a link type

argument
name
outward
inward

delete

Aliases:

  • d
  • del
  • rm

Delete an issue

argument required
issue_key x
delete_subtasks x

delete_link_type

Aliases:

  • dlt
  • delete-link-type

Delete a link type

argument
id

get_link_type

Aliases:

  • glt
  • get-link-type

Get a link type

argument
id

get_transitions

Aliases:

  • gt
  • get-transitions

Get transitions

argument
issue_key

list_link_types

Aliases:

  • llt
  • list-link-types

List issue types

list_priorities

Aliases:

  • lp
  • list-priorities

List issue priorities

list_types

Aliases:

  • lt
  • list-types

List issue types for this project

argument
project_key

list_votes

Aliases:

  • lv
  • list-votes

List votes for an issue

argument
issue_key

remove_label

Aliases:

  • rl
  • remove-label

Remove a label from an issue

argument environment variable name multiple values (comma separated)
issue_key x
lsbel JIRA_LABEL

How to remove the same label from multiple issues

export JIRA_LABEL=Security
jira_cli issue remove_label SYY-1025,SYY-1026,SYY-1030,SYY-1035

remove_version

Aliases:

  • rv
  • remove-version

Remove a version from an issue

argument environment variable name multiple values (comma separated)
issue_key x
version_name JIRA_VERSION_NAME

How to remove the same version from multiple issues

export JIRA_VERSION_NAME=v1.0.0
jira_cli issue remove_version SYY-1025,SYY-1026,SYY-1030,SYY-1035

remove_vote

Aliases:

  • rvo
  • remove-vote

Remove a vote from an issue

argument
issue_key

show_fixversions

Aliases:

  • sfv
  • show-fixversions

List all fix versions for a specific issue

argument
issue_key

transition

Aliases:

  • t
  • transit

Performs an issue transition and, if the transition has a screen, updates the fields from the transition screen

argument
issue_key
transition_id

unassign

Aliases:

  • ua
  • una

The issue is set to unassigned

argument
issue_key

update_link_type

Aliases:

  • ult
  • update-link-type

Update a link type

argument
id
name
outward
inward