Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to remove one or more options of a custom field in Jira using Jira Command Line Interface (CLI)

...

  1. From CLI V9.3.0, The custom field options can be removed usingĀ removeCustomFieldOptions action.
  2. In this example, a select list field is used named "input" which has options 1, 2, and 3. The screenshot below shows the "input" custom field configuration.
  3. Execute the below action to delete the custom field option "2" from the list of options.

    Code Block
    themeMidnight
    --action removeCustomFieldOptions --field "input" --options "2"


  4. Login to Jira and check the verify the custom field configuration, the option will be removed as shown in the screenshot below.
  5. To remove more than one custom field option, provide a comma separated list of options as shown below.

    Code Block
    --action removeCustomFieldOptions --field "input" --options "2,3"


Note

The action works only on the custom fields thatĀ allows configuration of options.


Info