NAME

transition.pl - Make a transition in a JIRA issue

SYNOPSIS

transition.pl [-hn] [long options...]
  --jiraurl STR         JIRA server base URL
  --issue STR           Key of the issue to progress
  --transition-id INT   ID of the transition to make
  --resolution STR      Resolution name to set
  --comment STR         Comment string to insert during transition
  -n --dont             Do not change anything
  -h --help             Print usage message and exit

DESCRIPTION

This script makes a JIRA issue transition through its workflow.

OPTIONS

Common options are specified in the JIRACLI documentation. Specific options are defined below:

  • --issue STR

    Specifies the issue by its key (e.g. HD-1234).

  • --transition-id INT

    Specifies the transition that should be performed by its numeric ID. You can grok it by hovering the mouse over the transition button and looking for the action=N part in its URL.

  • --resolution STR

    If the transition leads to a terminal state you can specify a Resolution to be set.

  • --comment STR

    Specifies a comment to be added to the issue during the transition. Note that the comment will not be added if the transition doesn't have a screen associated with it.

ENVIRONMENT

See the JIRACLI documentation.

COPYRIGHT

Copyright 2016-2022 CPQD.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Gustavo Chaves <gustavo@cpqd.com.br> Lisa Hare <lharey@gmail.com>