Checklist item representations
Checklist items can be represented in different ways.
This guide will provide the different structures in which items can be found and interacted with.
JSON (Jira REST API)
When interacting with Checklist in Jira REST APIs, the structure will always be an array of checklist item objects.
[checklistItem, checklistItem, ...]
The properties of each checklist item is as follows:
Parameter | Type | Description | Accessibility | ||
---|---|---|---|---|---|
| String[] | A list of the usernames to which the item is assigned (only one assignee is currently supported). Can only be set if the User Assignment setting is enabled. | read-write | ||
| Boolean | Whether the item is checked or not. A disabled global item cannot be checked. | read-write | ||
| String | The due date of the item as an ISO string. Can only be set if the Due Dates setting is enabled. | read-write | ||
| Number | The internal unique ID of the global item to which this item is linked. When no ID is set, the item is considered to be a local item. | read-write | ||
| Number | The unique ID for the checklist item. The ID is used internally by the Checklist app. It is automatically generated and can be reset during certain processes. | read | ||
| Boolean | Whether the item is a header or not. Can only be set to | read-write | ||
| Boolean | Whether the item is mandatory or not. | read-write | ||
| String | MANDATORY The name of the checklist item. The names of global items cannot be changed. | read-write | ||
| String | The numeric priority ID of the item as a string. Can only be set if the Priorities setting is enabled. | read-write | ||
| Number | The rank of the item in the checklist, starting from 0. When the checklist is updated, the rank value is ignored, and the order in which the items are set in the array of checklist items is applied. | read | ||
| Object | The object that contains the status information. Only valid status IDs are accepted. Can only be updated if the Statuses setting is enabled. Also comes with the following sub-parameters: | read-write | ||
| String | The name of the status. | read | ||
| String | The status ID. | read-write | ||
| String | The key of the issue created when the item got converted to an issue. | read |
JSON
The JSON structure differs slightly whenever you are working outside of Jira REST APIs. You will most likely find this structure when working with JSON in the Checklist custom REST APIs or when working with the Java class.
JSON property | Type | Description |
---|---|---|
| String Array | The list of the usernames to which the item is assigned (only one assignee is currently supported). |
| Boolean | Whether the item is checked or not. |
| String | The due date of the item in ISO format. |
| Number | The identifier of the global item, which only needs to be provided if you want to modify a global item. |
| Number | The read-only unique identifier, which can be ignored when creating items. The ID is used internally by the Checklist app. It is automatically generated and can be reset during certain processes. |
| Boolean | Whether the item is a header or not. |
| String | The key of the issue resulting from an item-to-issue conversion. |
| Boolean | Whether the item is mandatory or not. |
| String | The name of the item; this is the only mandatory property to create a checklist item. |
| String | The numeric priority ID of the item as a string. |
| Number | The order of the item. |
| String | The status ID of the item ( |
Java class
The ChecklistItem
Java class uses public methods (as opposed to properties). The class is particularly useful when used in direct code-accessing scripting (like Groovy) or in app-integrations.
Here is a list of the ChecklistItem
class public methods:
Method | Return value | Description |
---|---|---|
STATIC
| ChecklistItem | An alternate way to create a new checklist item. You should not use this approach if you are creating items with a The parameter is expected to be a JSON representation of the item. |
| String | Returns the due date formatted in the desired format (see the Available formats). |
| List<String> | The usernames of the users to which the item is assigned. |
| String | The due date (and time) of the item in ISO format. |
| Integer | The ID of the global item (previously known as an “option”), if applicable, otherwise -1 is returned. |
| Integer | Unique identifier for the item. |
| Boolean | Whether the item is a header or not. |
| String | The key of the issue resulting from an item-to-issue conversion. |
| String | The name of the item, including Markdown and the description. To learn more about Markdown and descriptions, see Using special formatting and Adding descriptions to items or headers. |
| String | The name of the item, without the description. Passing |
| String | The numeric priority ID of the item as a string. |
| String | The name of the priority assigned to the item. This searches Jira’s priority scheme. If the item’s priority ID is not found in the scheme, an empty string will be returned. |
| Integer | The rank of the item in the checklist. |
| String | The status ID of the item ( |
| Boolean | Whether the item has a status or not. If |
| Boolean | Whether the item is checked or not. |
| Boolean | Whether the linked global item (previously known as an “option”) is disabled or not. |
| Boolean | Whether the item is a global item (previously known as an “option”) or not. |
| Boolean | Whether the item is mandatory or not. |
| Void | Changes the users to which the item is assigned. To learn more about assignees, see Assigning users to items. Only the first assignee is taken into account. |
| Void | Changes the checked state of the item. |
| Void | Changes the due date of the item. |
| Void | Changes whether the item is a header or not. |
| Void | Changes the linked issue key in the item. |
| Void | Changes the mandatory state of the item. |
| Void | Changes the item name, including Markdown and the description, as required. To learn more about Markdown and descriptions, see Using special formatting and Adding descriptions to items or headers. |
| Void | Changes the priority ID of the item. |
| Void | Changes the rank of the item. Global item ranks cannot be changed. Setting an item’s rank to a rank already in use by another item will have unpredictable results. The changed item may end up before or after the other item. |
| Void | Changes the status ID of the item. |
| String | Returns the JSON representation of the item. |
oChecklistItem SIL structure
This structure makes it easier to manipulate checklist items in SIL scripts without having to worry about the back-end JSON format.
Field | Type | Description |
---|---|---|
assigneeIds | String[] | A list of the usernames to which the item is assigned (only one assignee per item is currently supported). Only useful if the User Assignment setting is enabled. |
checked | Boolean | Whether the item is checked or not. A disabled global item cannot be checked. |
dueDate | String | The due date of the item as an ISO string. Only useful if the Due Dates setting is enabled. |
globalItemId | Number | The internal unique ID of the global item to which the item is linked. When no ID is set, the item is considered to be a local item. |
id | Number | The ID for the checklist item. The ID is used internally by the Checklist app. It is automatically generated and can be reset during certain processes. |
isHeader | Boolean | Whether the item is a header or not. Only useful if the Section Headings setting is enabled. |
linkedIssueKey | String | The key of the issue resulting from an item-to-issue conversion. |
mandatory | Boolean | Whether the item is mandatory or not. |
name | String | MANDATORY The name of the checklist item. Name changes in global items will not be saved. |
priorityId | String | The numeric priority ID of the item as a string. Only useful if the Priorities setting is enabled. |
rank | Number | The rank of the item in the checklist, starting from 0. When the checklist is updated, the rank value is ignored, and the order in which the items are organized in the array of checklist items is applied. |
statusId | String | The status ID of the item. Only useful if the Statuses setting is enabled. |
Smart Value
The Smart Value representation is very similar to the JSON representation, the biggest difference being that the assignee’s information is directly available to improve usability in the automation rules.
The following values may be incomplete depending on the context in which they are used. See the integration page of the trigger you are using for more details.
Smart Value | Description |
---|---|
| The ID for the checklist item. |
| The internal unique ID of the global item to which the item is linked. When no ID is set, the item is considered to be a local item. |
| The name of the checklist item, including its description and Markdown formatting. |
| Whether the item is checked or not. |
| The assignee's full name. |
| The assignee's username. |
| The assignee's email address. |
| The due date of the item as an ISO string. |
| Whether the item is a header or not. |
| The key of the issue resulting from an item-to-issue conversion. |
| The numeric priority ID of the item as a string. |
| Whether the item is mandatory or not. |
| The rank of the item in the checklist, starting from 0. |
| The status ID of the item ("none" if no status is selected). |
| The name of the item’s status. |
Previous state of items
All values can be accessed in their previous state by appending last
at the start of the value and capitalizing the first letter of the value.