Eg, supposing my password is 'foo(bar'
How do I provide this password to jira-cli.jar?
- I assumed the password would have to be escaped, so in my script I would provide 'foo\(bar' instead, however the password then does not match.
There has been problems with this in the past, but most of these issues have been resolved at least in the current 2.7.0-SNAPSHOT. Please report any instances where this is not the case. You must not escape them, but you should always double quote the parameter to cover the case where the password contains a blank or has characters that may interfere with OS command line processing:
--password "xxxx xx"
I will give that another go, I had previously already tried that snapshot, however I did escape the characters (using Ruby's shellwords.escape) rather than using quotation marks so I will try ignoring that and just quoting them instead, however, can I point out that "double-quoting" the parameter will still result in argument expansion if you are using bash.
Additionally, it still does not clarify how you would handle characters such as a literal quotation mark.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork? We've compiled a list here, along with...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs