Reputation: 16465
I am using Jira Command Line interface(v. 3.9.0) to create Jira Issue. Everything works well until there is a comma in component name. Here is an example of parameters I used for createIssue action:
--project "MyProj" --type "MyType" --summary "Some summary" --description "Test desc" --components "Company, Inc."
"Company, Inc"
is the single component. But according to the documentation (https://bobswift.atlassian.net/wiki/display/JCLI/Documentation#Documentation-components) Jira expects list of the components separated by commas in the --components parameter. Therefore Jira thinks that "Company, Inc" is 2 components - "Company" and "Inc."
Is there a way to create issue with such component?
EDIT: According to the tips on documentation page (https://bobswift.atlassian.net/wiki/display/JCLI/Tips) values containing a comma must be enclosed in single quotes. However it didn't help too.
Upvotes: 2
Views: 202
Reputation:
According to: https://bobswift.atlassian.net/wiki/display/JCLI/Tips
the comma is a "problmatic" character, but you can provide an alternate character to be used in your commands. For example, by adding this:
–special "# "
to your CLI command, you can then use the hashtag symbol INSTEAD OF the comma in your CLI command.
Upvotes: 3