This page explains how to access the value of Pre-defined custom fields using Groovy. You can access them This page explains how to access the value of Pre-defined custom fields using Groovy. You can access them using the getters of the Issue interface. To understand how to write values into the writable custom fields see Raw value/text input for fields and Groovy expression input for fields.
...
Panel |
---|
|
Customer Request Type |
...
...
Panel |
---|
|
SatisfactionField name: Satisfaction Description: The Satisfaction field is an object describing the request feedback in Service Desk requests. Accessing the Satisfaction field: You can access the Satisfaction field using any of the following getters of the Issue interface:
|
...
Portfolio for Jira fields
Panel |
---|
Field Name: Parent LinkDescription: The Parent link field is an object representing the Initiative of the current Epic.
Accessing the Parent Link field: You can access the Parent Link field using any of the following getters of the Issue interface:get("Parent Link") or get("customfield_xxxxx")
that returns an Issue
Example: Parent Link of the Epic
Code Block |
---|
language | groovy |
---|
linenumbers | true |
---|
|
issue.get("Parent Link") |
| Parent Link
|
Parent Link- Field Name: Parent Link
Description: The Parent link field is an object representing the Initiative of the current Epic. It returns com.atlassian.rm.jpo.env.issues.JiraIssueService$3. - representing
Accessing the Parent Link field: You can access the Parent Link field using getAsString("Parent Link") or getAsString("customfield_xxxxx") that returns a String representing the key of the Initiative the Epic belongs to :.
|
Tempo fields
...