Cannot run JIRA CLI command

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2018

Hi All

I am trying to run a JIRA CLI command but unfortunately it is not returning me the results.

 

./jira.sh --action getIssueList --jql "issuefunction in linkedIssuesOf("project=<my project>", "is Epic of")" 

 

I can confirm that the JQL works fine when run from the issue navigator but the command falls apart when run via CLI.

Any idea how i can make it to work?

Rahul

1 answer

0 votes
Bob Swift {Appfire} March 28, 2018

Can you be more specific regarding "the command falls apart"? Just looking at the request, it is not syntactically correct. You must escape inner double quotes or you will get a command line syntax error. Namely:

-a getIssueList --jql "issuefunction in linkedIssuesOf(\"project=<my project>\", \"is Epic of\") " 

If the JQL works from the UI, then you should get the same list of issues running it through the CLI.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events