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
Community showcase
Posted yesterday in United States

From Atlassian: Confluence Security Advisory - 2019-03-20

Atlassian released a security advisory on 3/20/2019.  The full advisory is here:  https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html In a nutshe...

22 views 0 1
View post

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