Get Field Options
jira_get_field_optionsRetrieve valid option values for Jira custom fields of any type, including select and cascading. Filter by context, project, issue type, or substring to return exactly the options needed.
Instructions
Get allowed option values for a custom field.
Returns the list of valid options for select, multi-select, radio, checkbox, and cascading select custom fields.
Cloud: Uses the Field Context Option API. If context_id is not provided, automatically resolves to the global context.
Server/DC: Uses createmeta to get allowedValues. Requires project_key and issue_type parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contains | No | Case-insensitive substring filter on option values. Also matches child values in cascading selects. | |
| field_id | Yes | Custom field ID (e.g., 'customfield_10001'). Use jira_search_fields to find field IDs. | |
| context_id | No | Field context ID (Cloud only). If omitted, auto-resolves to the global context. | |
| issue_type | No | Issue type name (required for Server/DC). Example: 'Bug' | |
| project_key | No | Project key (required for Server/DC). Example: 'PROJ' | |
| values_only | No | If true, return only value strings in a compact JSON format instead of full option objects. | |
| return_limit | No | Maximum number of results to return (applied after filtering). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |