jira cli Invalid action specified: ADDCUSTOMFIELD

Vladimir Vasic
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.
December 10, 2015

Hi there,

I have a problem creating custom field with JIRA cli.

This is command similar to examples at https://bobswift.atlassian.net/wiki/display/JCLI/Examples:

java -jar jira-cli-3.9.0.jar --server http://localhost:2990/jira --user admin --password admin --action addCustomField --field "zzz_Number Field" --type "com.atlassian.jira.plugin.system.customfieldtypes:float" --continue --search "com.atlassian.jira.plugin.system.customfieldtypes:exactnumber"

1 answer

1 accepted

0 votes
Answer accepted
Vladimir Vasic
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.
December 10, 2015

As you probably noticed, action addCustomField was not available in jira-cli-3.9.0.jar. So I used latest one jira-cli-4.5.0.jar and created custom fields with no problem.

Suggest an answer

Log in or Sign up to answer