Hi all,
I inherited a situation where JIRA was not set up correctly, and am try to fix it. One problem was custom fields were created for versioning. So I am trying to go project by project and for all issues copy "Release Version" to "fixVersions".
After a short investigation, I determined that the cli was the best tool to use. I am running this command:
./jira.sh --action runFromIssueList --search "project in (DGAGENTMAC)" --common "-a copyFieldValue --issue @issue@ --toIssue @issue@ --field ""Release Version"" --field2 fixVersions --asVersion"
and getting this:
Error: Unexpected argument: Version
I also tried these:
./jira.sh --action runFromIssueList --search "project in (DGAGENTMAC)" --common "-a copyFieldValue --issue @issue@ --toIssue @issue@ --field 'Release Version' --field2 'fixVersions' --asVersion"
<span>Error: Unexpected argument: Version'</span>
and
./jira.sh --action runFromIssueList --search "project in (DGAGENTMAC)" --common "-a copyFieldValue --issue @issue@ --toIssue @issue@ --field 'customfield_10102' --field2 'fixVersions' --asVersion"
Remote error: Custom field ''customfield_10102'' is not valid.
How do I specify a field with a space in the name with the runFromIssueList cli action?
Thanks!
Robert