I am running the below query from JIRA CLI. I am getting result of the query along with some error.
I am using JIRA 6.3.11, CLI 3.0.0 and oracle database.
Below is the CLI command I am running.
jira --action runFromSql --sql "select count(*) from jiraissue" --host "hostname" --driver "oracle" --database "databasename" --dbUser "username" --dbPassword "password"
I am getting the result of the query along with the error message.
Run: --cOUNT(*) "169347"
Error: Unknown flag 'cOUNT(*)'.
Error: Unexpected argument: 169347
Error: Parameter 'action' is required.
Client error: 1 actions failed
Please help me to fix this error.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG