NAME
download_attachment.pl - Download an attachment from an issue
SYNOPSIS
download_attachment.pl [-h] [long options...] [FILE]
--jiraurl STR JIRA server base URL
--issue STR Key of the issue from which to download attachments
-h --help Print usage message and exit
DESCRIPTION
This script downloads an attachment from a JIRA issue. If there is no FILE argument the script lists the names of all the issue attachments. To download a specific attachment, pass its name as the FILE argument. It is downloaded in the current directory with the same name.
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).
ENVIRONMENT
See the JIRACLI documentation.
COPYRIGHT
Copyright 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>