What are the CLI output formats?

Maybe I am being totally stupid but .......

I am trying to get started using the JIRA CLI and I have not found the documnetation terribly helpful

I want a list of all my components, so ...

I tried the runFromProjectList action. After a few false starts I discovered that I need --common to allow me to have a second "action" in a runFrom* command

jira.sh --action runFromProjectList --common '--action getComponentList --project @project@'

Run: --action getComponentList --project ALFRED
1 components for project: ALFRED
"10040","Orchestration Controller"

Run: --action getComponentList --project ARCH
0 components for project: ARCH


There is this mysterious facility fo Output format, but The most I can find so far is:

[--outputFormat <outputFormat>]
Specify output format for an action. (default: 1)

This is the sort of answer one might get from a little software house run by BG! It is entirely accurate and totally useless!!

Is there any better documentation of the commands and options;

If anyone could tellm ewhat the o/p formats are, it would be extremely helpful.

Many thanks


2 answers

Totally agree! Where is the definition of what "--output-format 1" or 2 or 999 or whatever value supposed to do? I'm sick of searching the documentation and testing the output for a busy/large instance isn't helping much ... There must be a reason for this option... what values have what meaning?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 9 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

37 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you