Interface RestCustomFieldTypeOperations

All Known Implementing Classes:
CascadingSelectCFType, DateCFType, DateTimeCFType, FuncTestTextAreaCFType, GenericTextCFType, ImportIdLinkCFType, InitialWatchersCFType, LabelsCFType, MultiGroupCFType, MultiSelectCFType, MultiUserCFType, NumberCFType, ProjectCFType, ReadOnlyCFType, RenderableTextCFType, SelectCFType, TextAreaCFType, TextAreaNoValidationCFType, URLCFType, UserCFType, VersionCFType

@PublicSpi public interface RestCustomFieldTypeOperations
Interface for fields which can be modified using the rest api.
Since:
v5.0
  • Method Details

    • getRestFieldOperation

      RestFieldOperationsHandler getRestFieldOperation(CustomField field)
      Returns the RestFieldOperationsHandler for this field.
      Parameters:
      field - the Custom Field
      Returns:
      the RestFieldOperationsHandler for this field.
    • getJsonDefaultValue

      JsonData getJsonDefaultValue(IssueContext issueCtx, CustomField field)
      Return The default data for this system field. May be null if there is no default.
      Parameters:
      issueCtx - Issue (This should really only need to be an issue context, but for historical reasons we need an issue object.
      field - the Custom Field
      Returns:
      The default data for this system field.