Hi!
I have just install JIRA CLI and I'm trying to use it.
But I have a problem
if I run: java --action login -u XXX -p XXX --server http://localhost:8080
it's OK, and the response is the token!
but if I run: java --action deleteIssue 12345
it give me an error:
Error: Unexpected argument: 10626
Error: Parameter 'server' is required.
Error: Parameter 'password' is required.
Why?? Have I to pass the token?? How??
Regards,
Marco
Community moderators have prevented the ability to post new answers.
Generally, you don't do a separate login action unless you are doing more advanced things. Certainly you should start with a simple example:
jira --action getServerInfo -u XXX -p XXX --server http://localhost:8080
Also, the recommended approach is to modify the jira.bat/jira.sh file to include the server, user, and password parameters so you can simplify to:
jira --action getServerInfo
The documentation goes into more details. For advanced use, How to reduce login actions for multiple requests .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.