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

jira issue view <key> --plain does not work #389

Open
astarrr opened this issue Jun 15, 2022 · 5 comments
Open

jira issue view <key> --plain does not work #389

astarrr opened this issue Jun 15, 2022 · 5 comments

Comments

@astarrr
Copy link

astarrr commented Jun 15, 2022

Describe the bug
It seems that the flag --plain is not considered or is not working

Please provide following details

  1. 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")
    
  2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
    Jira on-premise v8.20.8
    
  3. What operating system are you using? Also mention version.
    Windows 10
    
  4. What terminal are you using? Also mention version.
    Windows Terminal
    

To Reproduce

Steps to reproduce the behavior:

  1. jira issue view <key> --plain
  2. See error

Expected behavior
I expected to read the output in plain mode.

@ankitpokhrel
Copy link
Owner

Hi @astarrr, could you please share more details. What error you get? Does it work without --plain flag?

@astarrr
Copy link
Author

astarrr commented Jun 16, 2022

No errors, the same command with or without --plain returns the same output

@ankitpokhrel
Copy link
Owner

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.

@tcoffin
Copy link

tcoffin commented Sep 30, 2022

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

@rcorre
Copy link

rcorre commented Feb 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants