-
-
Notifications
You must be signed in to change notification settings - Fork 264
Description
Describe the bug
Hi! When I try to use the --csv
flag as documented, I get unknown flag: --csv
and help information about the available flags, none of which include csv
.
I've tried both with no other flag (jira issue list --csv
) and with a flag (jira issue list --csv -pXYZ
).
I tried --raw
as well with the same resulting error. --plain
does work, however.
Please provide following details
- JiraCLI Version:
(Version="1.6.0", GitCommit="6a6611ce59f1a85203b021af9113b2a4e82ecaef", CommitDate="2025-04-19T09:33:11+00:00", GoVersion="go1.24.1", Compiler="gc", Platform="darwin/arm64")
- Are you using Jira cloud or on-premise jira server?
Version: 9.12.24
Build Number: 9120024
Deployment Type: Server
Default Locale:
- What operating system are you using? Also mention version.
macOS Sequoia Version 15.5
- What terminal are you using? Also mention version.
iTerm 2 Build 3.5.14
To Reproduce
Steps to reproduce the behavior:
- create a script file (get-jira-info.sh)
- include the line
jira issue list --csv
- run
sh get-jira-info.sh
from iterm - See error
Expected behavior
I expect to get an output of a CSV file with the issues returned.
Screenshots

Additional context
My goal is to cycle through a few projects with the same keyword search and get one CSV with all that info from it. I'm not sure if I can do that in one go, or if I can name the CSV file created and append to it with the output.
Example:
#get-jira-info.sh:
#!/bin/sh
jira issue list -pABC -q "summary ~ 'Sample search'" --csv compilationOfIssues.csv
jira issue list -pDEF -q "summary ~ 'Sample search'" --csv compilationOfIssues.csv
jira issue list -pGHI -q "summary ~ 'Sample search'" --csv compilationOfIssues.csv