Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

problem with CLI for jira

Karim Belhadj
Contributor
May 14, 2019

Hello team

My problem is when i excute this command :

./jira.sh --action getServerInfo

I get this error

This function requires a non-blank value for parameter server.

 

i do not understand what it mean -non blank value for parameter server =

 

regards

3 answers

0 votes
Karim Belhadj
Contributor
May 15, 2019

@[deleted]  @Sebastian Krzewiński : it works but the problem is when i excute the command :

jira create : error = RequestError: Error: Invalid URI "http:///[http//localhost:8080]/rest/api/2/issue/createmeta".

 

Other error:

jira --action addComment --issue "TI-7" --comment "my comment" --role "Developers"

error = unknown option --action .

 

It looks weird really .

 

Regards

0 votes
Deleted user May 14, 2019 edited

sHi @Karim Belhadj ,

Please verify your jira.sh file whether it contains a valid url for server parameter. Something like this, --server https://my.examplegear.com --user yyyyyy --password xxxxx

Later you can execute --action getServerInfo.

 

Thanks,
Raja

0 votes
Sebastian Krzewiński
Community Champion
May 14, 2019

Hi @Karim Belhadj 

I didn't use Bob Swift CLI for a while but as I remember you should add

--server "https://your-server.com" 

to your command.

 

Regards,

Sebastian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events