Get Field Options
jira_get_field_optionsRetrieve valid option values for Jira custom fields, including select and cascading lists. Supports Cloud (auto-resolve context) and Server/DC (requires project and issue type).
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.
Args: ctx: The FastMCP context. field_id: The custom field ID. context_id: Field context ID (Cloud only, auto-resolved if omitted). project_key: Project key (required for Server/DC). issue_type: Issue type name (required for Server/DC). contains: Case-insensitive substring filter on option values. return_limit: Cap on number of results after filtering. values_only: Return compact format with only value strings.
Returns: JSON string with the list of available options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| project_key | No | Project key (required for Server/DC). Example: 'PROJ' | |
| issue_type | No | Issue type name (required for Server/DC). Example: 'Bug' | |
| contains | No | Case-insensitive substring filter on option values. Also matches child values in cascading selects. | |
| return_limit | No | Maximum number of results to return (applied after filtering). | |
| values_only | No | If true, return only value strings in a compact JSON format instead of full option objects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |