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

Output Option(s) #54

Open
jessebutryn opened this issue Dec 29, 2017 · 2 comments
Open

Output Option(s) #54

jessebutryn opened this issue Dec 29, 2017 · 2 comments

Comments

@jessebutryn
Copy link

jessebutryn commented Dec 29, 2017

Can you please add an option to remove all the unnecessary formatting from all output? It would be useful to have only text output that can be more easily parsed. Currently I have to hack the output with the following:

Remove ASCII Table:

jira issue jql 'search' | awk '/(.*)-([0-9]+)/{print $0}' | tr -d '│'

Remove colors:

perl -pe 's/\x1b\[[0-9;]*[a-zA-Z]//g'

This also makes me lose the line that describes the "Issue Type" however the tables and colors make it very difficult to wrap tools around this program in order to process output/generate reports etc.

Great tool otherwise though, thank you!

@buguibu
Copy link

buguibu commented Sep 25, 2018

Let me suggest an option: include or return only the URL on the issues returned bu the query.

@unphased
Copy link

unphased commented May 8, 2019

Yes i hope we can have it automatically (if output is a pipe or script, not a terminal) to produce unix-pipe friendly tabulated output, especially for stuff like jira issue jql and jira issue search.

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