---
title: "Predefined structure types reference"
canonical: "https://support.appfire.com/space/PSJC/435028065/Predefined%20structure%20types%20reference"
format: markdown
---
> Macro (aura-html)

This reference lists the predefined structure types used in Simple Issue Language (SIL) for Power Scripts for Jira Cloud. Use it to identify the fields, data types, and return structures returned by SIL functions across Jira products.

> 📝 All structures in SIL operate in a detached state, meaning that modifying structure fields only exists within your script. The changes don't get saved to Jira. For example, if you modify fields in a project version structure, the actual project version in Jira remains unchanged. This makes it safe to manipulate structure data in your scripts without affecting the real Jira data.

---

## How to use the reference tables

This page provides a full list of the predefined structures used in SIL. Here’s a breakdown of the information you can find in the tables:

| **Table column** | **Description** |
| --- | --- |
| Name | This is the unique identifier for the structure type. |
| Fields | These are named properties that hold data within the structure. |
| Field types | The data type for each field. Can be one of the following:<br>- Basic types (`string`, `number`, `integer`, `boolean`, `date`)
- Arrays (marked with `[]`)
  - Other structure types (like a field of type HttpHeader in HttpRequest) |
| Returned by function | Predefined structures serve as return types for specific SIL functions. When you call these functions, they return data organized in the corresponding structure format. |

#### Example

This is example shows the `JComment` structure, which has seven fields of `string` and `date` type.

```
struct JComment {
    string id;            // Field name: id, Type: string
    string text;          // Field name: text, Type: string 
    string author;        // Field name: author, Type: string
    date created;         // Field name: created, Type: date
    string updatedBy;     // Field name: updatedBy, Type: string
    date updated;         // Field name: updated, Type: date
    string securityLevel; // Field name: securityLevel, Type: string
}This page provides a reference of the predefined structure types used in SIL. 
```

The `JComment` structure is returned when you use functions like:

- `editComment()`
- `getCommentById()`
- `getLastComment()`

This means when you write:

```
JComment comment = getCommentById("12345");
```

The function returns the comment data organized in the `JComment` structure, allowing you to access fields like `comment.text` or `comment.author`.

---

## Standard types

Standard structure types are core structures that handle fundamental Jira operations and integrations. These include HTTP communication, email handling, user management, comments, custom fields, project components, and other basic Jira entities. These structures are available in all Jira installations and form the foundation of SIL scripting.

| **Name** | **Fields** | **Field types** | **Returned by function** |
| --- | --- | --- | --- |
| HttpRequest | headers | HttpHeader [] | - [httpDelete](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434733492)
- [httpGet](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434472661)
- [httpOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434995455) | - [httpPatch](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434930150)
- [httpPost](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434766152)
- [httpPut](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434995476) |
| cookies | HttpCookie [] |
| parameters | HttpQueryParam [] |
| HttpHeader | key | string | - [httpCreateHeader](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434766083)
- [httpBasicAuthHeader](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434602768) |
| value | string |
| HttpCookie | name | string | - [httpCreateCookie](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/433654478) |
| value | string |
| HttpQueryParam | name | string | - [httpCreateParameter](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434766101) |
| value | string |
| HttpResponseInfo | class | string | - [httpGetResponseInfo](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434374319) |
| statusCode | integer |
| errorMessage | string |
| reasonPhrase | string |
| HttpProxy | host | string | - [httpDelete](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434733492)
- [httpGet](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434472661)
- [httpOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434995455) | - [httpPatch](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434930150)
- [httpPost](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434766152)
- [httpPut](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434995476) |
| port | number |
| JAttachment | id | integer | - [getAttachmentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/705003561) |
| author | string |
| created | date |
| content | string |
| filename | string |
| mimeType | string |
| thumbnail | string |
| size | integer |
| JComment | id | string | - [editComment](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434507059)
- [getCommentById](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434930021)
- [getLastComment](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434995323) |
| text | string |
| author | string |
| created | date |
| updatedBy | string |
| updated | date |
| securityLevel | string |
| JComponent | id | number | - [admGetProjectComponent](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434733545) |
| name | string |
| description | string |
| lead | string |
| defaultAssignee | number |
| JCustomField | id | string | - [getCustomField](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1626374145)
- [getAllCustomFields](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1626898458) |
| name | string |
| type | string |
| dataType | string |
| orderable | boolean |
| searchable | boolean |
| JCustomFieldOption | id | string | - [admAddCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/791282009)
- [admDeleteCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790627240)
- [admGetCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/791511311)
- [admUpdateCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790528847) |
| optionId | string |
| value | string |
| disabled | boolean |
| JDashboard | id | string | - [admCopyDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748162099)
- [admCreateDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/747965192)
- [admGetAllDashboards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748552437)
- [admGetDashboardById](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748683420)
- [admGetDashboardsByName](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748683364) | - [admGetDashboardsByOwner](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748618158)
- [admGetDashboardsForUser](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748618168)
- [admGetFavouriteDashboards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/747801635)
- [admUpdateDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748718317) |
| name | string |
| description | string |
| viewUrl | string |
| system | boolean |
| owner | string |
| refreshintegererval | integer |
| popularity | integer |
| rank | integer |
| editPermissions | JSharePermission [] |
| sharePermissions | JSharePermission [] |
| JEmailAttachment | file | string | - [sendEmail](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/433654656) |
| name | string |
| mimeType | string |
| JEmailMessage | to | string [] | - [sendEmail](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/433654656)
- [sendHtmlEmail](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028575) |
| cc | string [] |
| bcc | string [] |
| subject | string |
| message | string |
| from | string |
| attachments | JEmailAttachment [] |
| JFieldChange | user | string | - [getFieldChanges](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434930045)
- [lastIssueChanges](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434799219) |
| changeDate | date |
| field | string |
| oldVal | string |
| newVal | string |
| oldValString | string |
| newValString | string |
| JFieldConfigurationScheme | id | integer | - [admGetAllFieldConfigSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/514818850)
- [admGetFieldConfigScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/515146283) |
| name | string |
| description | string |
| JFieldConfiguration | id | integer | - [admGetFieldConfigById](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/860717838)
- [admCreateFieldConfig](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/861667573) | - [admUpdateFieldConfig](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/861733003) |
| name | string |
| description | string |
| isDefault | boolean |
| JFieldConfigITMapping | fieldConfigurationId | integer | - [admGetFieldConfigITMappings](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/860357745) |
| issueTypeId | integer |
| JFieldConfigurationItem | field | string | - [admGetAllFieldConfigItems](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/862224438) |  |
| description | string |
| renderer | string |
| hidden | boolean |
| required | boolean |
| JFieldValue | fieldName | string | - [createIssue](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434507110) |
| values | string [] |
| JFilter | id | integer | - [admCreateFilter](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/720902428)
- [admGetAllFilters](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489492)
- [admGetAllOwnedFilters](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/722174348)
- [admGetFavouriteFilters](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/722076017)
- [admGetFilterById](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/720473851) | - [admGetFiltersByName](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/720473817)
- [admGetFiltersForProject](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/720605278)
- [admUpdateFilter](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/722141349)
- [getFilterFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/720473609) |
| jql | string |
| name | string |
| description | string |
| owner | string |
| editPermissions | JSharePermission [] |
| sharePermissions | JSharePermission [] |
| JGadget | id | integer | - [admAddGadgetToDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/747801902)
- [admGetAvailableGadgets](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748618518)
- [admGetDashboardGadgetById](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748718574) | - [admGetDashboardGadgets](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748063606)
- [admUpdateGadgetInDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748162444) |
| moduleKey | string |
| titlen | string |
| uri | string |
| color | string |
| row | integer |
| column | integer |
| JIssueLink | id | number | - [getIssueLinksDetail](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434602750) |
| name | string |
| direction | number |
| description | string |
| issue | string |
| JIssueNotificationScheme | id | integer | - [admGetAllNotificationSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/513441877)
- [admGetNotificationScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852100) |
| name | string |
| description | string |
| JIssueNotificationSchemeEvent | event | string | - [admGetAllNotificationSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/513441877) | - [admGetNotificationScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852100) |
| notifications | JIssueNotificationSchemeNotificationDetail [] |
| JIssueNotificationSchemeNotificationDetail | notificationType | string | - [admGetAllNotificationSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/513441877) | - [admGetNotificationScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852100) |
| parameter | string |
| JIssueNotificationSchemeProjectMapping | notificationSchemeId | integer | - [admGetNotificationProjectMappings](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1213858059) |
| projectId | integer |
| JIssueSecurityScheme | id | integer | - [admGetAllIssueSecuritySchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/514818823)
- [admGetIssueSecurityScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/514720797) |
| defaultSecurityLevelId | integer |
| name | string |
| description | string |
| JIssueTypeScheme | id | integer | - [admGetAllIssueTypeSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/514786551)
- [admGetIssueTypeScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/515211665) |
| name | string |
| description | string |
| defaultIssueTypeId | integer |
| JIssueTypeScreenScheme | id | integer | - [admGetAllIssueTypeScreenSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/518324501)
- [admGetIssueTypeScreenScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/518291809) |
| name | string |
| description | string |
| JIssueTypeScreenMapping | id | integer | - [admGetITSSMappings](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/805961911) |
| screenSchemeId | integer |
| JLastActiveDates | productLastActiveDates | JProductLastActiveDate [] | - [admGetLastActiveDates](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1159823773) |
| addedToOrganization | date |
| JPermissionGrant | holder | JPermissionHolder | - [admGetAllPermissionSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111) | - [admGetPermissionScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111) |
| id | integer |
| permission | string |
| JPermissionHolder | parameter | string | - [admGetAllPermissionSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111) | - [admGetPermissionScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111) |
| type | string |
| value | string |
| JPermissionScheme | id | integer | - [admGetAllPermissionSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111) | - [admGetPermissionScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111) |
| name | string |
| description | string |
| permissions | JPermissionGrant [] |
| JLdapUserAttribute | name | string | - [ldapUserStruct](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434635671) |
| value | string [] |
| JLdapUserStruct | DN | string | - [ldapUserStruct](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434635671) |
| attributes | JLdapUserAttribute [] |
| JPermissionScheme | id | integer | - [admGetAllPermissionSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/512852111)
- [admGetPermissionScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/513114265) |
| name | string |
| description | string |
| JPriority | id | integer | - [admGetAllPriorityObjectsFromScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1183383653)
- [admGetAvailablePriorityObjectsForScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1182433849) |
| name | string |
| description | string |
| iconUrl | string |
| statusColor | string |
| isDefault | boolean |
| JPriorityScheme | id | integer | - [admGetAllPrioritySchemesObjects](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1183056204)
- [admGetPrioritySchemeObject](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1183252905) |
| name | string |
| description | string |
| priorities | string [] |
| projects | string [] |
| JProductLastActiveDate | product | string | - [admGetLastActiveDates](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/1159823773) |
| lastActive | date |
| JProject | id | number | - [admProjectProperties](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/496206543) |
| key | string |
| name | string |
| description | string |
| lead | string |
| url | string |
| unassignedByDefault | boolean |
| category | string |
| projecttype | string |
| JProjectIssueTypes | projectKey | string | - [admAddCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/791282009)
- [admDeleteCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790627240)
- [admGetCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/791511311)
- [admUpdateCustomFieldOptions](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790528847) |
| issueTypesNames | string [] |
| JRemoteIssueLink | id | integer | - [getWebLink](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/957940055)
- [getWebLinksForIssue](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/958955774)
- [updateWebLink](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/958333364) |
| globalId | string |
| appName | string |
| relationship | string |
| iconTitle | string |
| iconUrl | string |
| summary | string |
| title | string |
| url | string |
| statusResolved | string |
| statusIconTitle | string |
| statusIconUrl | string |
| statusIconLink | string |
| JScreen | id | integer | - [admCreateScreen](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790758340)
- [admGetAllScreens](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790758380) | - [admGetScreensByName](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790987285)
- [admUpdateScreen](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/791478898) |
| name | string |
| description | string |
| scope | string |
| projectKey | string |
| JScreenScheme | id | integer | - [admCreateScreenScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790758340)
- [admGetAllScreenSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/790986895)
- [admUpdateScreenScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/791740479) |
| name | string |
| description | string |
| defaultScreenId | integer |
| createScreenId | integer |
| editScreenId | integer |
| viewScreenId | integer |
| JSharePermission | id | integer | - [admShareFilter](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/722174268)
- [admCopyDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748162099)
- [admCreateDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/747965192)
- [admGetAllDashboards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748552437)
- [admGetDashboardById](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748683420) | - [admGetDashboardsByName](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748683364)
- [admGetDashboardsByOwner](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748618158)
- [admGetDashboardsForUser](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748618168)
- [admGetFavouriteDashboards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/747801635)
- [admUpdateDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/748718317) |
| type | string |
| object | string |
| JTeam | id | string |  |
| name | string |
| isVisible | boolean |
| title | string |
| isShared | boolean |
| JUser | key | string | - [getUserByEmail](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434831877)
- [getUserByFullName](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434864483)
- [getUser](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434507251) |
| username | string |
| displayname | string |
| email | string |
| active | boolean |
| timezone | string |
| JVersion | id | number | - [admGetProjectVersion](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434733561)
- [getVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/491002320) |
| name | string |
| description | string |
| projectId | number |
| startDate | date |
| releaseDate | date |
| archived | boolean |
| released | boolean |
| JWorkflow | id | string | - [admGetWorkflowsFromScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/2255552747) |
| name | string |
| assocIssueType | string |
| statuses | string [] |
| transitions | string [] |
| JWorkflowScheme | id | integer | - [admGetAllWorkflowSchemes](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/517865958)
- [admGetWorkflowScheme](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/517800504) |
| name | string |
| description | string |
| defaultWorkflow | string |
| JWorklog | id | number | - [getWorklogsForIssues](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434439996) |
| author | string |
| startDate | date |
| timeSpent | integererval |
| comment | string |
| issue | string |
| WebhookParam | name | string | - [getWebhookPayload](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434733710) |
| values | string [] |
| WebhookPayload | queryParams | WebhookParam [] | - [getWebhookPayload](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/434733710) |
| httpMethod | string |
| payload | string |

---

## Jira Software types

These are structures specific to agile project management features in Jira Software. They handle boards, sprints, and other agile artifacts. These structures are only available when Jira Software is installed and are used for managing agile development processes.

| **Name** | **Fields** | **Field types** | **Returned by function** |
| --- | --- | --- | --- |
| JBoard | id | integer | - [getAllBoards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/567574550)
- [getAllKanbanBoards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/567148594)
- [getAllScrumBoards](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/567476263) |
| name | string |
| type | string |
| JEpic | id | integer | - [activeEpics](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/570589652)
- [epics](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/570458590)
- [getEpic](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/570785880) |
| name | string |
| summary | string |
| done | boolean |
| JSprint | id | integer | - [getAllOpenSprintegers](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480979)
- [getClosedSprintegers](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/561283337)
- [getNotStartedSprintegers](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/560858284)
- [getStartedSprintegers](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/560400319) |
| name | string |
| startDate | date |
| endDate | date |
| completeDate | date |
| goal | string |
| state | string |
| boardId | integer |

---

## Jira Service Management types

These are structures focused on IT service management functionality. They handle service requests, approvals, SLAs, customer portals, and other service desk specific features. These structures are only available when Jira Service Management is installed.

For actual examples using the structures see the main [Jira Service Management functions page](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/523731239) or see the individual routine pages.

| **Name** | **Fields** | **Field types** | **Returned by function** |
| --- | --- | --- | --- |
| JSlaCompletedCycle | startTime | date | - [getSlaInformation](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/644940133) |
| stopTime | date |
| breached | boolean |
| goalDuration | number |
| elepsedTime | number |
| remainingTime | number |
| JSlaInformation | name | string | - [getSlaInformation](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/644940133) |
| completedCycles | JSlaCompletedCycle |
| ongoingCycle | JSlaOngoingCycle |
| JSlaOngoingCycle | startTime | date | - [getSlaInformation](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/644940133) |
| breachedTime | date |
| breached | boolean |
| paused | boolean |
| withinCalendarHours | boolean |
| goalDuration | number |
| elepsedTime | number |
| remainingTime | number |
| JSMApproval | approvers | JSMApprover [] | - [answerApproval](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/654050404)
- [getApproval](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/621906541)
- [getApprovals](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/622298390) |
| canAnswerApproval | boolean |
| completedDate | date |
| createdDate | date |
| finalDecision | string |
| id | integer |
| name | string |
| JSMApprover | approver | JUser | - [answerApproval](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/654050404)
- [getApproval](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/621906541) | - [getApprovals](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/622298390) |
| approverDecision | string |
| JSMAssetsObject | workspaceId | string | (used with asset custom fields) |
| globalId | string |
| id | string |
| JSMAttachment | created | string | - [getAttachmentsForRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/622298412) |
| filename | string |
| mimeType | string |
| size | string |
| JSMComment | attachments | JSMAttachment [] | - [getCommentForRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/621906575)
- [getCommentsForRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/622134858) |
| author | JUser |
| body | string |
| created | string |
| id | integer |
| isPublic | boolean |
| renderedBody | string |
| JSMCustomerRequest | actions | JSMCustomerRequestActions | - [createCustomerRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/637665389)
- [getCustomerRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/621939095) |
| attachments | string [] |
| comments | number [] |
| createdDate | date |
| currentStatus | JSMCustomerRequestStatus |
| issueId | integer |
| issueKey | string |
| participants | JUser [] |
| reporter | JUser |
| requestTypeId | integer |
| serviceDeskId | integer |
| slaIds | number [] |
| status | JSMCustomerRequestStatus [] |
| JSMCustomerRequestActions | addAttachment | boolean | - [createCustomerRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/637665389)
- [getCustomerRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/621939095) |
| addComment | boolean |
| addParticipant | boolean |
| removeParticipant | boolean |
| JSMCustomerRequestStatus | status | string | - [getCustomerRequestStatus](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/644678772) |
| statusCategory | string |
| statusDate | date |
| JSMFeedback | rating | number | - [addFeedbackForRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/741539984)
- [getFeedbackForRequest](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/740624371) |
| comment | string |
| type | string |
| JSMKBArticle | content | string | - [getKBArticles](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/741212243)
- [getServiceDeskKBArticles](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/742162499) |
| excerpt | string |
| source | string |
| title | string |
| JSMQueue | fields | string [] | - [getServiceDeskQueue](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/694093332)
- [getAllServiceDeskQueues](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/694125994) |
| id | integer |
| issueCount | integer |
| jql | string |
| name | string |
| JSMRequestType | description | string | - [getRequestTypesForServiceDesk](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/693994346)
- [getRequestTypeByIdForServiceDesk](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/694321675) |
| helpText | string |
| iconId | integer |
| id | integer |
| issueTypeId | integer |
| portalId | integer |
| name | string |
| JSMServiceDesk | id | integer | - [getServiceDesk](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/693994370) |
| projectId | integer |
| projectKey | string |
| projectName | string |

## Jira Product Discovery types

These are structures specific to product discovery and idea management features in Jira Product Discovery. They handle date intervals and other specialized date types for product planning. These structures are only available when Jira Product Discovery is installed and are used for managing product discovery processes.

| **Name** | **Fields** | **Field types** |
| --- | --- | --- |
| JPDInterval | start | date |
| end | date |