Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I attach file to an issue? #81

Open
dhow opened this issue May 13, 2019 · 0 comments
Open

How do I attach file to an issue? #81

dhow opened this issue May 13, 2019 · 0 comments

Comments

@dhow
Copy link

dhow commented May 13, 2019

Not sure if I missed anything but I didn't find a way to attach a file, this is the primary purpose for me to pose info to JIRA from command-line, it'd be great if we can attach files.

mew:~ jyeh$ jira-cli --ver
2.2
mew:~ jyeh$ jira-cli update --help
usage: jira-cli update [-h] [--jira-url JIRA_URL] [--format FORMAT]
                       [--oneline] [-v] [-u USERNAME] [-p PASSWORD]
                       [--protocol {soap,rest}] [--comment [ISSUE_COMMENT]]
                       [--priority ISSUE_PRIORITY]
                       [--component ISSUE_COMPONENTS]
                       [--assign ISSUE_ASSIGNEE]
                       [--transition ISSUE_TRANSITION] [--label [LABELS]]
                       [--resolution RESOLUTION] [--fix-version [FIX_VERSION]]
                       [--remove-fix-version [REMOVE_FIX_VERSION]]
                       [--affects-version [AFFECTS_VERSION]]
                       [--remove-affects-version [REMOVE_AFFECTS_VERSION]]
                       [--extra [EXTRA_FIELDS]]
                       issue

positional arguments:
  issue                 the jira issue to act on

optional arguments:
  -h, --help            show this help message and exit
  --jira-url JIRA_URL   the base url for the jira instance
  --format FORMAT       format for displaying ticket information. allowed
                        tokens: status,priority,updated,votes,components,proje
                        ct,reporter,created,fixVersions,summary,environment,as
                        signee,key,affectsVersions,type.Use the % character
                        before each token (example: issue id: %key
                        [%priority])
  --oneline             built in format to display each ticket on one line
  -v                    amount of detail to show for issues
  -u USERNAME, --username USERNAME
                        username to login as
  -p PASSWORD, --password PASSWORD
                        password for jira instance
  --protocol {soap,rest}
                        the protocol to use to communicate with jira
  --comment [ISSUE_COMMENT]
                        add a comment to an existing issue
  --priority ISSUE_PRIORITY, --priority ISSUE_PRIORITY
                        change the priority of an issue
  --component ISSUE_COMPONENTS
                        add components(s) to an issue (use list components to
                        view available components)
  --assign ISSUE_ASSIGNEE
                        assign the issue to a user
  --transition ISSUE_TRANSITION
                        transition the issue to a new state (use list
                        transitions to view available transitions for an
                        issue)
  --label [LABELS]      label to add to the ticket
  --resolution RESOLUTION
                        set the resolution for the issue
  --fix-version [FIX_VERSION]
                        add a version that this issue fixes
  --remove-fix-version [REMOVE_FIX_VERSION]
                        remove a version specified as being fixed by the issue
  --affects-version [AFFECTS_VERSION]
                        add a version that this issue affects
  --remove-affects-version [REMOVE_AFFECTS_VERSION]
                        remove a version specified as being affected by the
                        issue
  --extra [EXTRA_FIELDS]
                        extra fields to update in the ticket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant