/
How to retrieve the list of options available for a custom field in Jira using Jira CLI

How to retrieve the list of options available for a custom field in Jira using Jira CLI

This article explains how to get the list of options available for a custom field in Jira using Jira Command Line Interface (CLI).

Instructions

The support for retrieving the list of custom field options through the action getCustomFieldOptionList is available since CLI v9.3.0. Refer to the CLI action given below:

--action getCustomFieldOptionList --field "input"

In this action, --field refers to the custom field name.

Use --columns parameter to show only specific columns in the result, as mentioned in the example below:

--action getCustomFieldOptionList --field "input" --columns "Field,Field Name,Name"

It is recommended to test the commands in a non-production environment or run the action with the --simulate parameter to verify the behavior before deploying.

Related content