Interface FieldConfig

All Known Implementing Classes:
FieldConfigImpl

@PublicApi public interface FieldConfig
Represents a particular configuration of aConfigurableField. 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..

Sample code

Retrieving a FieldConfig and using it to retrieve a set of custom field options:
 IssueContextImpl issueContext = new IssueContextImpl(Long, String)  IssueContextImpl(projectId, issueTypeId)};
 FieldConfig fieldConfig = cf.getRelevantConfig(issueContext);
 Options options = optionsManager.getOptions(fieldConfig);
 
See Also: