Package com.atlassian.jira.issue.fields
Interface MandatoryField
- All Superinterfaces:
Comparable,Field
- All Known Subinterfaces:
IssueTypeField,SummaryField
- All Known Implementing Classes:
IssueTypeSystemField,SummarySystemField
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisSetupFieldInContext(Project project) 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
compareToMethods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKey
-
Method Details
-
isSetupFieldInContext
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
-