runfromIssueList is not supporting the space in the field value updates.

Varun D July 22, 2012

sh jira.sh --action runFromIssueList --search "issue in linkedIssues(TFT-158,'is cloned by')" --common "--action updateIssue --issue @issue@ --summary 'JIRA DSCEDR'"

Run: --action updateIssue --issue TFT-157 --summary 'JIRA DSCEDR'

Error: Unexpected argument: DSCEDR'

Client error: 1 actions failed

When i am running above commond it is giving me the error.When i remove space from the 'JIRA DSCEDR' it goes fine.. any suggestions?

1 answer

1 accepted

1 vote
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
July 22, 2012

You must use double quote around parameters that contain blanks: "JIRA DSCEDR"

Embedded double quotes within a double quoted string must be escaped with a \ - example: –common "-a addComment --comment \"This is an example of a double quoted string inside a double quote\" "

Varun D July 22, 2012

Awesome thanks a lot Bob..

Suggest an answer

Log in or Sign up to answer