Interface MultipleSettableCustomFieldType<T,S>

Type Parameters:
T - Transport Object See CustomFieldType for more information.
S - Single Form of Transport Object. See CustomFieldType for more information.
All Superinterfaces:
CustomFieldType<T,S>, MultipleCustomFieldType<T,S>
All Known Implementing Classes:
AbstractMultiSettableCFType, CascadingSelectCFType, MultiSelectCFType, SelectCFType

@PublicSpi public interface MultipleSettableCustomFieldType<T,S> extends MultipleCustomFieldType<T,S>
Custom field which can have multiple Options to select from. Provides support for removing a possible option from the Field configuration.
  • Method Details

    • getIssueIdsWithValue

      Set<Long> getIssueIdsWithValue(CustomField field, Option option)
      Returns a Set of issue ids (Long) that have the given option selected.
      Parameters:
      field - the CustomField to search on
      option - the Object representing a single value to search on.
      Returns:
      Set of Longs
    • removeValue

      void removeValue(CustomField field, Issue issue, Option optionObject)
      Perform any actions required if the option selected by the issue is removed.
      Parameters:
      field - being edited
      issue - to remove stuff from
      optionObject - option being removed.