---
title: "Accessing the fields of an issue"
canonical: "https://support.appfire.com/space/JMWE/461537562/Accessing%20the%20fields%20of%20an%20issue"
format: markdown
---
> Macro (aura-html)

This document details how to access the details of *issue* objects, such as the one provided by the `issue`, `linkedIssue` and `parentIssue` variables, as well as `Issue` objects returned by other methods such as `getParentObject``()`, `getEpic()` or `getLinkedIssues()`. You can access them using the:

- [Getters of the Issue interface](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461537734/Issue+Interface#Getters) methods that are native to Jira.
- `get(``String fieldNameOrID``)` method returns the value of a system or custom field of the Issue object. The return type depends on the field being accessed.
- `getAsString(``String fieldNameOrID``)` method that returns the String representation of the value of the system or custom field, whenever possible.
- `getRawValue(``String fieldNameOrID``) `method that returns an Option object instead of a String when applied on a field of Single select list or Radio buttons type.
- [getAvailableOptions("](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461997007)<span style="color: #333333">[String fieldNameOrID](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461997007)</span>["](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461997007)[)](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461997007) method that returns a collection of available options for the specified field
- `getRemoteLinks(<Application Name>)` <span style="color: #333333">method </span>takes a String representing the target application (e.g. "jira", "confluence" etc)<span style="color: #333333"> and </span>returns a [Collection](http://download.oracle.com/javase/6/docs/api/index.html?java/util/Collection.html)`<`[RemoteIssueLink](https://docs.atlassian.com/jira/6.4/com/atlassian/jira/issue/link/RemoteIssueLink.html)`>` objects.<span style="color: #333333"> </span>
- `getAsJsonData(``String fieldNameOrID``)` method <span style="color: #172b4d">returns the value of the field as a</span><span style="color: #172b4d"> </span>[JsonData](https://docs.atlassian.com/software/jira/docs/api/7.5.0/com/atlassian/jira/issue/fields/rest/json/JsonData.html)<span style="color: #172b4d"> </span><span style="color: #172b4d">object.</span> The return type is a <span style="color: #333333">JSON-style version of the field, essentially a key-value Map.</span>
- `getFieldHistory(``String fieldNameOrID``)` method that <span style="color: #172b4d">returns</span><span style="color: #172b4d"> </span><span style="color: #172b4d">returns a</span>` `[<span style="color: #172b4d">List</span>](http://docs.oracle.com/javase/7/docs/api/java/util/List.html)`<`[<span style="color: #172b4d">ChangeItemBean</span>](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/78055368)`>``. `<span style="color: #172b4d">This gives easy access to the history of any field. </span>The order of the list will be from oldest to newest.

where` <field_name`> is the name of the field as displayed in the Field configuration and `<field_id>` is the ID of the field as shown in [Accessing the Jira Standard fields of an issue](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461964285) document. In the case of a custom field, it has the form `customfield_xxxxx`, where `xxxxx` is the custom field numerical ID, as seen in the URL when viewing or editing the field.

An issue has the following fields. Click on each to know how to access them:

- [Standard Jira fields](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461964285)
- [Predefined custom fields](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461702032)
- [User-created custom fields](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461406836)