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

The `getAvailableOptions(``String fieldNameOrID``) `method on any `Issue` object, such as the one provided by the `issue`, `linkedIssue` and `parentIssue` variables (where applicable), 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(``String fieldNameOrID``)` 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.

See [here](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/462127112) for this method's use case.

**On this page:**


#### Supported Standard Jira fields

| **Field Name** | **Field ID** | **Returns** |
| --- | --- | --- |
| Affects Version/s | `versions` | `Collection<Version>` |
| Component/s | `components` | [Collection](http://download.oracle.com/javase/6/docs/api/index.html?java/util/Collection.html)`<`[ProjectComponent](https://appfire.atlassian.net/wiki/display/JMWE/Project+Component)`>` |
| Fix Version/s | `fixVersions` | `Collection<Version>` |
| 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/display/JMWE/Priority+interface)`>` |
| Resolution | `resolution` | `Collection<Resolution>` |
| Security Level | `security` | `Collection<IssueSecurityLevel>` |

#### 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>` |
| 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/display/JMWE/Version+interface)`>` |
| Project picker | `Collection<Project>` |