Interface DefaultCustomFieldProvider

All Known Implementing Classes:
AbstractDefaultCustomFieldProvider, BusinessValueCustomFieldProvider, ClassicEpicLabelCustomFieldProvider, FlagCustomFieldProvider, StoryPointsCustomFieldProvider

public interface DefaultCustomFieldProvider
An interface to describe providers of custom fields that have a "default" instance that JIRA Agile cares about. This is in contrast to ManagedCustomFieldProvider, where fields are explicitly "managed" instead of just being instantiated as a "default".
Since:
7.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.atlassian.jira.issue.fields.CustomField
    Get the default custom field that JIRA Agile is aware of.
  • Method Details

    • getOrCreateDefaultField

      com.atlassian.jira.issue.fields.CustomField getOrCreateDefaultField()
      Get the default custom field that JIRA Agile is aware of.
      Returns:
      the custom field. If the field does not yet exist, this will try its hardest to ensure that an instance of this custom field is returned; whether created or retrieved.
    • doesDefaultFieldExist

      boolean doesDefaultFieldExist()
      Returns:
      whether the default field currently exists