jira-cli
jira-cli copied to clipboard
jira issue view <key> --plain does not work
Describe the bug It seems that the flag --plain is not considered or is not working
Please provide following details
- JiraCLI Version:
(Version="1.0.0-beta", GitCommit="118b51dc3913ba2af0411c9d4a344eaecda8571b", CommitDate="2022-05-09T05:49:06+00:00", GoVersion="go1.17.5", Compiler="gc", Platform="windows/amd64")
- Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
Jira on-premise v8.20.8
- What operating system are you using? Also mention version.
Windows 10
- What terminal are you using? Also mention version.
Windows Terminal
To Reproduce
Steps to reproduce the behavior:
-
jira issue view <key> --plain
- See error
Expected behavior I expected to read the output in plain mode.
Hi @astarrr, could you please share more details. What error you get? Does it work without --plain
flag?
No errors, the same command with or without --plain
returns the same output
hmm...I don't have windows machine to check and its really hard to say what's happening without checking. I will try to reproduce this if I get access to a windows machine. Any help is appreciated in the meantime.
I can similarly reproduce this issue on OSX (12.6) (Version="1.1.0", GitCommit="3b93e147eac468ad985bdece27469153b4bb2814", CommitDate="2022-08-14T08:10:40+00:00", GoVersion="go1.18.3", Compiler="gc", Platform="darwin/amd64")
jira issue view --plain
I'm unclear what "plain mode" is supposed to do, but on Linux, the only apparent difference is that --plain
outputs directly to the terminal, without using a pager. The format appears the same. I was expecting plain text output that was more parse-able