Custom Field Functions

Custom Field Functions

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

Functions Summary

  • hasInputVerifies if a field had input in the transition screen.
  • getAllCustomFieldsReturns an array of JCustomField type structs for all custom fields in Jira.
  • fieldHistoryReturns all the pairs date + value for the selected field from the selected issue's history.
  • getCustomFieldGets all information about the custom field. Function returns a JCustomField structure type.
  • getCustomFieldIdByNameReturns a list of ids for all custom fields with the given name.
  • getCustomFieldNameByIdGets the name of the custom field by id.
  • getFieldChangesReturns a list of tuples containing user||field|oldVal|newVal for the selected field from the selected issue's history.
  • getFieldOptionsReturns a string array representing the list of options for a custom field.
  • getInputMake sure that a transition screen has been attached to the current transition.
  • 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.
  • getPriorityIdByNameGets the priority id by the priority name.
  • getPriorityNameByIdGets the priority name by the priority id.
  • 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) from the selected issue's history.
  • getContextsForCustomFieldReturns the list of contexts (their names) for a certain custom field
  • getIssueTypesInCustomFieldContextReturns the list of issue types names for a certain custom field context. Note that if the routine does not return anything then all the issue types are set. You can use the allProjects and getissueTypesForProject routine to determine the full list of issue types.
  • getProjectsInCustomFieldContextReturns the list of project keys for a certain custom field context. Note that if the routine does not return anything then the context is global. You can use the allProjects routine to get all the projects.
  • getIssueTypesInTheSameContextReturns the list of issue type names that are included in the same context as the given issue for a certain custom field. Note that if the routine does not return anything then all the issue types are set. You can use the allProjects and getissueTypesForProject routine to determine the full list of issue types.",

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.