---
title: "getAvailableOptions(String fieldName)"
canonical: "https://support.appfire.com/space/JMCF/465502879/getAvailableOptions(String%20fieldName)"
format: markdown
---
> Macro (aura-html)

The `getAvailableOptions(String fieldName) `method on any `Issue` object, such as the one provided by the `issue`, as well as `Issue` objects returned by other methods such as `getParentObject``()`, `getEpic()` or `getLinkedIssues()`, returns a collection of available options for the specified field. The return type depends on the field specified. For example, a version picker type field returns a` Collection<Version>`, the Component/s field returns a `Collection<ProjectComponent>`, etc. 

To find the available options for a field, say, Affects Version/s, call this method on the current issue using either the field name or the field ID, just like on the `get(<field_name> or <field_id>)` method: `issue.getAvailableOptions("Affects Version/s")` or `issue.getAvailableOptions("versions")`

:warning:** **Dynamic fields like Description, Summary, Labels etc are not supported in this method. If you try passing these fields you will get an error.

**On this page:**


#### Supported Standard Jira fields

| **Field Name** | **Field ID** | **Returns** |
| --- | --- | --- |
| Affects Version/s | `versions` | `Collection<`[Version](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465895840)`>` |
| Component/s | `components` | [Collection](http://download.oracle.com/javase/6/docs/api/index.html?java/util/Collection.html)`<`[ProjectComponent](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465666605)`>` |
| Fix Version/s | `fixVersions` | `Collection<`[Version](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465895840)`>` |
| Priority | `priority` | [Collection](https://appfire.atlassian.net/wiki/download/attachments/78055921/7-21-2016%2011-03-50%20AM.png?version=1&modificationDate=1478253364382&cacheVersion=1&api=v2)`<`[Priority](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465535394)`>` |
| Resolution | `resolution` | `Collection<`[Resolution](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465830136)`>` |
| Security Level | `security` | `Collection<`[IssueSecurityLevel](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465732323)`>` |

#### Supported Custom fields

A custom field available options display is decided by the custom field type implementation. 

> ⚠️ 'xxxxx' in the custom fields detailed below is the ID of the custom field. Click [here](https://confluence.atlassian.com/jirakb/how-to-find-id-for-custom-field-s-744522503.html) to know how to find the ID of custom fields.


| **Field Name** | **Returns** |
| --- | --- |
| Checkboxes / Multi-select list / Radio buttons / Single-select list / Cascading | `Collection<`[Option](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465240377)`>` |
| Single Version picker / Multi-version picker | [Collection](https://appfire.atlassian.net/wiki/download/attachments/78055921/7-21-2016%2011-03-50%20AM.png?version=1&modificationDate=1478253364382&cacheVersion=1&api=v2)`<`[Version](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465895840)`>` |
| Project picker | `Collection<`[Project](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465601133)`>` |