@PublicApi
public interface FieldConfig
ConfigurableField. A configuration can have many facets, such as default value
and options. These are customizable through registering FieldConfigItem objects in the getConfigItems() method.
This object is generally used in conjunction as part FieldConfigScheme objects where a config can be attached
per IssueType
This is used in configuring custom fields..
IssueContextImplissueContext = newIssueContextImpl.IssueContextImpl(Long, String)IssueContextImpl(projectId, issueTypeId)};FieldConfigfieldConfig =cf.getRelevantConfig(issueContext);Optionsoptions =optionsManager.getOptions(fieldConfig);
FieldConfigScheme,
FieldConfigItem,
ConfigurableField| Modifier and Type | Method and Description |
|---|---|
List<FieldConfigItem> |
getConfigItems()
Returns a list of FieldConfigItems.
|
<T> ConfigurableField<T> |
getConfigurableField()
Returns the related configurable field.
|
CustomField |
getCustomField()
Deprecated.
since v8.15 use the
getConfigurableField(). |
String |
getDescription() |
String |
getFieldId() |
Long |
getId() |
String |
getName() |
Long getId()
String getName()
String getDescription()
List<FieldConfigItem> getConfigItems()
FieldConfigItems. Collections.emptyList() if nothingString getFieldId()
@Deprecated CustomField getCustomField()
getConfigurableField().FieldConfig was originally only
used for customfields. Should eventually return a ConfigurableFieldCustomFieldDataAccessException - if the fieldId does not refer to a valid custom field@ExperimentalApi <T> ConfigurableField<T> getConfigurableField()
ConfigurableFieldCopyright © 2002-2022 Atlassian. All Rights Reserved.