Custom Field Routines

Custom Field Routines

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

This section contains routines that enable users to handle custom fields.

Routines summary

  • fieldHistory — Returns all the pairs date + value for the selected field from the selected issue's history.
  • getAllCustomFields — Returns an array of JCustomField type structs for all custom fields in Jira.
  • getCommentById — Gets all the comment properties for a given id.
  • getCustomFieldNameById — Gets the name of the custom field by id.
  • getFieldChanges — Returns a list of tuples containing user|changeDate|field|oldVal|newVal for the selected field from the selected issue's history. Updated in v 4.8.0.8 to include two new fields - oldValString & newValString.
  • getFieldOptions — Returns a string array representing the list of options for a custom field.
  • getInput — Gets the value of a field in the transition screen. Should only be used in transitions that require a screen.
  • getIssueFieldNames — Returns a list with the names of all standard and custom fields of an issue.
  • getIssueFields — Returns a map with all standard and custom fields of an issue. The map contains pairs of field name and field values.
  • getPriorityIdByName — Gets the priority id by the priority name.
  • getPriorityNameById — Gets the priority name by the priority id.
  • hasInput — Verifies if a field had input in the transition screen. Should only be used in transitions that require a screen.
  • isCustomFieldInContext — Checks if a custom field is in the context of a specified issue type for a project.
  • lastFieldHistory — Returns the last change details (user | date | field | oldValue | newValue | oldValueString | newValueString) from the selected issue's history.