Use Replacement Syntax


In the  JQL, you can use the following objects:

ObjectUsage
$fieldHelper

Syntax:

  • $fieldHelper.getValue("customfield_Name")
  • $fieldHelper.getValue("customfield_Id")

Examples:

  • $fieldHelper.getValue("components")
  • $fieldHelper.getValue("fixVersions")
  • $fieldHelper.getValue("customfield_10200")
$currentUserThe ID of the currently logged-in user (if available)

How to get the values of standard fields:

FieldUsage
versions$fieldHelper.getValue("versions")
affectedVersions$fieldHelper.getValue("affectedVersions")
assignee$fieldHelper.getValue("assignee")
components$fieldHelper.getValue("components")
created$fieldHelper.getValue("created")
creator$fieldHelper.getValue("creator")
description$fieldHelper.getValue("description")
dueDate$fieldHelper.getValue("dueDate")
environment$fieldHelper.getValue("environment")
fixVersions$fieldHelper.getValue("fixVersions")
id$fieldHelper.getValue("id")
issueType$fieldHelper.getValue("issueType")
key$fieldHelper.getValue("key")
labels$fieldHelper.getValue("labels")
priority$fieldHelper.getValue("priority")
project$fieldHelper.getValue("project")
reporter$fieldHelper.getValue("reporter")
resolution$fieldHelper.getValue("resolution")
status$fieldHelper.getValue("status")
summary$fieldHelper.getValue("summary")
updated$fieldHelper.getValue("updated")
votes$fieldHelper.getValue("votes")
watches$fieldHelper.getValue("watches")