I wanted to update multiple custom fields in Jira using the Jira CLI interface, but there is sort of limitation to the number of custom fields that can be update at one execution of "updateIssue".
This is the commands I use for updating an issue
* update one field
jira --action updateIssue --issue "aaa-1" --field "customfield1" --value "brown"
* update two fields
jira --action updateIssue --issue "aaa-1" --field "customfield1" --value "brown" --field2 "customfield2" --values2 "fox"
If trying to use --field3 and --values3 and so on, it doesn't recognise the command.
Any suggestion how I can update more than 2 custom fields in an issue?
Appreacite any help, thanks!
You need to use the custom parameter. It allows you to set an arbitrary number of custom fields. The field/value parameter sets are a convenience for more simple cases.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.