issue APIs
Issue APIs allow you to access field and property data for issues - both the current issue and related issues.
Note: It is not possible to access values directly within your scripts. This method, while once possible, is no longer supported. You must use the getField or getFields APIs to access field values. This includes when using getLinkedIssues, getChildIssues, and getParentIssue. To access field values of work items returned by these APIs, you must also use getField or getFields after fetching the related work items. See each page for details on how to update your scripts.
Additionally, you must always get fields using the ID or key, and not the field name or label (some Jira system fields have the same ID as their name, but this does not affect the requirement). See Determining custom field IDs, below, for more information.
The script editor
The script editor window includes standard code editing features, including syntax colorization, error highlighting, code formatting, and code completion. Additionally, the script editor will provide prompts when it detects you are implementing API calls in your code.
The editor also includes three shortcut buttons to the right side of the window:
Expand/Contract - Expand the editor to full height, or shrink it back to its original height.
Snippets - Pre-written script examples.
Help - Links to JMCF for Jira Cloud documentation, scripted field documentation, and the Appfire support portal.
Scripted Field Hints
Similar to many code editors, the scripted field editor includes syntax highlighting, error highlighting, cursor navigation, and code completion. The editor has access to all JMCF for Jira Cloud APIs and provides prompts as you type, as well as function references.
You are viewing the documentation for Jira Cloud.
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.
