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


> ℹ️ This article provides a comprehensive reference of predefined structure types in Simple Issue Language (SIL ™), detailing their fields, data types, and the specific functions that return them when working with Jira, Jira Service Management, Jira Software, Insight, and Tempo.

## 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** |
| --- | --- | --- | --- |
| HttpCookie | name | string | - [httpCreateCookie](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15490122) |
| value | string |
| > Macro (anchor)

HttpHeader | key | string | - [httpCreateHeader](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480454)
- [httpBasicAuthHeader](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489106) |
| value | string |
| HttpProxy | host | string | - [httpDelete](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15488903)
- [httpPatch](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489735)
- [httpGet](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489286) | - [httpPost](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489476)
- [httpOptions](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489722)
- [httpPut](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489919) |
| port | number |
| HttpQueryParam | name | string | - [httpCreateParameter](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481224) |
| value | string |
| HttpRequest | headers | HttpHeader [] | - [httpDelete](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15488903)
- [httpPatch](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489735)
- [httpGet](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489286) | - [httpPost](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489476)
- [httpOptions](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489722)
- [httpPut](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489919) |
| cookies | HttpCookie [] |
| parameters | HttpQueryParam [] |
| HttpResponseInfo | class | string | - [httpGetResponseInfo](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483551) |
| statusCode | integer |
| errorMessage | string |
| reasonPhrase | string |
| IncomingEmail | from | string [] | - [getIncomingEmail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481033) |
| to | string [] |
| cc | string [] |
| subject | string |
| body | string |
| attachments | string [] |
| JApproval | issueId | integer |  |
| name | string |
| decision | string |
| createdDate | date |
| completedDate | date |
| statusId | string |
| approvers | string[] |
| JBoard | id | integer | - [getAllBoards](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480418) |
| name | string |
| type | string |
| swimlaneName | string |
| epicsPanel | string |
| cardColor | string |
| issueCutOff | string |
| savedFilterId | integer |
| showDaysInColumn | boolean |
| isSprintSupportEnabled | boolean |
| JComment | id | string | - [editComment](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15484757)
- [getCommentById](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486997)
- [getLastComment](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15484812) |
| text | string |
| author | string |
| created | date |
| updatedBy | string |
| updated | date |
| securityLevel | string |
| JComponent | id | number | - [getComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481025)
- [admGetProjectComponent](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=psj&title=admGetProjectComponent&linkCreation=true&fromPageId=15487117)
- [getMergeToComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480605)
- [getOldComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480542)
- [admUpdateProjectComponent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487742) |
| name | string |
| description | string |
| lead | string |
| defaultAssignee | number |
| archived | boolean |
| JCustomField | id | number | - [getAllCustomFields](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483603) |
| name | string |
| description | string |
| type | string |
| JEmailAttachment | file | string | - [sendEmail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487775) |
| name | string |
| mimeType | string |
| JEmailMessage | to | string [] | - [sendEmail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487775)
- [sendHtmlEmail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489474) |
| cc | string [] |
| bcc | string [] |
| subject | string |
| message | string |
| from | string |
| attachments | JEmailAttachment [] |
| JFieldChange | user | string | - [getFieldChanges](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485780)
- [lastIssueChanges](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15484103) |
| changeDate | date |
| field | string |
| oldVal | string |
| newVal | string |
| oldValString | string |
| newValString | string |
| JFieldValue | fieldName | string | - [createIssue](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486180) |
| values | string [] |
| extendedValues | string [][] |
| JFilter | id | number | - [admGetAllFilters](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489492)
- [admGetAllOwnedFilters](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487707)
- [admGetFilterById](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489809) | - [admGetFiltersForProject](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489196)
- [admUpdateFilter](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489607)
- [getFiltersByName](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=psj&title=getFiltersByName&linkCreation=true&fromPageId=15487117) |
| name | string |
| description | string |
| owner | string |
| query | string |
| JGeneric | name | string | - [admGetScreenSchemeFromITScheme](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480920)
- [admGetScreensFromScheme](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480824) | - [admGetPermissionsFromScheme](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487884)
- [admGetNotificationSchemeByName](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487559) |
| value | string |
| JIssueLink | id | number | - [getIssueLinksDetail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483556)
- [getIssueLinkFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480914) |
| name | string |
| direction | number |
| description | string |
| issue | string |
| JLdapUserAttribute | name | string | - [ldapUserStruct](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15488884) |
| value | string [] |
| JLdapUserStruct | DN | string | - [ldapUserStruct](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15488884) |
| attributes | JLdapUserAttribute [] |
| JLogin | loginCount | number | - [admGetUserLogin](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481119) |
| lastLogin | date |
| failedLoginCount | number |
| lastFailedLogin | date |
| JMoveIssueParams | issueToBeMoved | string | - [moveIssue](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485025) |
| parentIssue | string |
| targetProject | string |
| targetIssueTypeId | string |
| targetIssueStatusId | string |
| targetSubtaskIssueTypeId | string |
| JProject | id | number | - [getOldProjectFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481262)
- [getProjectFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481117)
- [admProjectProperties](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=psj&title=admProjectProperties&linkCreation=true&fromPageId=15487117) |
| key | string |
| name | string |
| description | string |
| lead | string |
| url | string |
| unassignedByDefault | boolean |
| avatarId | number |
| category | string |
| projectType | string |
| JRequestType | id | integer | - [getRequestsTypes](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481083) |
| portalId | number |
| issueTypeId | number |
| iconId | number |
| name | string |
| description | string |
| helpText | string |
| JScreenField | fieldId | string | - [admGetScreenFields](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489033) |
| fieldName | string |
| fieldPosition | number |
| tabName | string |
| tabPosition | number |
| JServerInfo | os | string | - [serverInfo](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489939) |
| osVersion | string |
| osArch | string |
| javaHome | string |
| processors | integer |
| freeMemory | string |
| maxMemory | string |
| totalMemory | string |
| userName | string |
| userDir | string |
| userHome | string |
| rootInfo | string |
| JSlaCompletedCycle | startTime | date | - [getSlaInformation](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480850) |
| stopTime | date |
| breached | boolean |
| goalDuration | number |
| elepsedTime | number |
| remainingTime | number |
| JSlaInformation | name | string | - [getSlaInformation](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480850) |
| completedCycles | JSlaCompletedCycle |
| ongoingCycle | JSlaOngoingCycle |
| JSlaOngoingCycle | startTime | date | - [getSlaInformation](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480850) |
| breachedTime | date |
| breached | boolean |
| paused | boolean |
| withinCalendarHours | boolean |
| goalDuration | number |
| elepsedTime | number |
| remainingTime | number |
| JSprint | id | integer | - [getAllOpenSprints](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480979) |
| name | string |
| startDate | date |
| endDate | date |
| completeDate | date |
| goal | string |
| state | string |
| boardId | integer |
| JUser | key | string | - [admGetFilterOwner](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487660)
- [getNewUserFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486914)
- [getOldUserFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480800) | - [getUserByEmail](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486417)
- [getUserByFullName](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483514)
- [getUser](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483495) |
| username | string |
| displayname | string |
| email | string |
| active | boolean |
| JVersion | id | number | - [admGetProjectVersion](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=psj&title=admGetProjectVersion&linkCreation=true&fromPageId=15487117)
- [admUpdateProjectVersion](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15489820)
- [getAffectsVersionSwappedToFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481247) | - [getMergeToVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481322)
- [getOldVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481179)
- [getVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480892) |
| name | string |
| description | string |
| projectKey | string |
| startDate | date |
| releaseDate | date |
| archived | boolean |
| released | boolean |
| JWorkflow | id | string | - [getAllWorkflows](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485066)
- [getWorkflowsFromSchemeName](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485023) |
| name | string |
| mode | string |
| type | string |
| assocIssueType | string |
| active | boolean |
| statuses | string [] |
| transitions | string [] |
| JWorkflowAction | name | string | - [getAllWorkflowTransitions](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483435)
- [getWorkflowTransition](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15483973) |
| fromStatus | string |
| conditions | string [] |
| validators | string [] |
| postFunctions | string [] |
| JWorklog | id | number | - [getWorklogsForIssues](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486267) |
| author | string |
| startDate | date |
| timeSpent | interval |
| comment | string |
| issue | string |
| WebhookParam | name | string | - [getWebhookPayload](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486350) |
| values | string [] |
| WebhookPayload | queryParams | WebhookParam [] | - [getWebhookPayload](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486350) |
| httpMethod | string |
| payload | string |


## Insight types

Insight structure types are structures specifically designed for Jira Insight Asset Management. They handle asset management data like objects, object types, attributes, and references. These structures allow you to work with configuration management database (CMDB) functionality, managing assets and their relationships.

> Macro (include)

## 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.

> Macro (include)

## 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.

> Macro (include)

## Tempo types

These are structures specific to the Tempo suite of products (like Tempo Timesheets). They handle time tracking, resource planning, and cost management functionality. These structures are only available when Tempo products are installed and configured in your Jira instance.

> Macro (include)