---
title: "How to update custom field options using Jira CLI"
canonical: "https://support.appfire.com/space/SUPPORT/89146547/How%20to%20update%20custom%20field%20options%20using%20Jira%20CLI"
format: markdown
---
This article provides detailed guidelines on how to update the custom field options using the Jira Command Line Interface(JCLI).

## Instructions:

<span style="color: #172b4d">Since Bobswift's CLI client version 9.6.0, we have a new feature that can update custom field options.</span>

1. How to use the action:
  - <span style="color: #172b4d">Run the </span>*<span style="color: #172b4d">updateCustomFieldOptions</span>*<span style="color: #172b4d"> action to update existing options and cascade option values:</span>  
<span style="color: #172b4d">Action Command:</span>
    <span style="color: #172b4d">Examples:</span>
2. Guidelines to use the action:
  1. use " - " to represent a parent-child relation. If " - " happens to be part of the value, use single quote ('') to enclose the entire value.
  2. use ":" to represent current value and new value relation. "A:B" means update option "A" to option "B".
  3. You can use id instead of value of the current parent option or child option.
3. Invalid input will be pre-checked and error out, list of common pre-check errors:
  1. "A:A" ---- current value and new value are equal
  2. update cascade option value for a non-cascade custom field option
  3. "A - a:B - b" ---- update cascade option, but they have different parent
  4. "A - a:A" or "A - a:A - " ---- update cascade option to empty value, this is not valid, use 'removeCustomFieldOptions" instead
  5. "A - a,b:A - x,y". ----- update multiple values together