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

  • fieldHistoryReturns all the pairs date + value for the selected field from the selected issue's history.
  • getAllCustomFieldsReturns an array of JCustomField type structs for all custom fields in Jira.
  • getCommentByIdGets all the comment properties for a given id.
  • getCustomFieldNameByIdGets the name of the custom field by id.
  • getFieldChangesReturns 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.
  • getFieldOptionsReturns a string array representing the list of options for a custom field.
  • getInputGets the value of a field in the transition screen. Should only be used in transitions that require a screen.
  • getIssueFieldNamesReturns a list with the names of all standard and custom fields of an issue.
  • getIssueFieldsReturns a map with all standard and custom fields of an issue. The map contains pairs of field name and field values.
  • getPriorityIdByNameGets the priority id by the priority name.
  • getPriorityNameByIdGets the priority name by the priority id.
  • hasInputVerifies if a field had input in the transition screen. Should only be used in transitions that require a screen.
  • isCustomFieldInContextChecks if a custom field is in the context of a specified issue type for a project.
  • lastFieldHistoryReturns the last change details (user | date | field | oldValue | newValue | oldValueString | newValueString) from the selected issue's history.