attempting to run Jira CLI but keep getting This function requires a non-blank value for parameter.

Roger parkinson January 4, 2018

jira.bat file has --server http://localhost:8080.   If I rename jira.bat and attempt to run direct from command line the error is "server" can not be declared more than once

1 answer

0 votes
edwin
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.
January 4, 2018

Hi Roger,

Sounds like the server flag is already set in the file itself. 

Roger parkinson January 5, 2018

Edwin,

 

thanks for the feedback.  problem is that using --server http://localhost:8080 in the jira.bat file results in the "This function requires a non-blank value for parameter server" error message returned.

Roger parkinson January 8, 2018

error on my part that has been fixed.

baz89103 August 9, 2023

Hi Roger,

Will you be able to tell me how do you fix?

 

Thanks,

BAZ

Amelie Winkler _Appfire_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
August 14, 2023

Hi, @baz89103 - Amelie from the CLI team here :) 

You can update the jira.bat file as per below. (Please note that this depends on the Jira version you're using – my example below is for 7.1.0)

java -jar "%dirPath%"/lib/jira-cli-7.1.0.jar --server https://localhost:8080 --user xyz --password xxxxx %*


Once you make the above change in the jira.bat file, execute the below from the command prompt.

jira.bat --action getServerInfo

 

I'm not sure which version you're on, but I generally recommend you make sure you're using the latest version of the app and client ;)

 

Let me know if you have any additional questions

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events