Interface MandatoryField

All Superinterfaces:
Comparable, Field
All Known Subinterfaces:
IssueTypeField, SummaryField
All Known Implementing Classes:
IssueTypeSystemField, SummarySystemField

public interface MandatoryField extends Field
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Method to control whether the mandatory field should be considered a setup field in the context of the project.

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.atlassian.jira.issue.fields.Field

    getId, getName, getNameKey
  • Method Details

    • isSetupFieldInContext

      default boolean isSetupFieldInContext(Project project)
      Method to control whether the mandatory field should be considered a setup field in the context of the project. The default behaviour is to return false, which will behave as the field did prior to this feature being introduced.
      Parameters:
      project - The project to check the context against.
      Returns:
      true if the field is a setup field in the context of the project, false otherwise.
      Since:
      10.0