Interface FieldService
public interface FieldService
Field service
- 
Method SummaryModifier and TypeMethodDescriptionClone a field.create(DateFieldBuilder builder) Create a date field.create(DateTimeFieldBuilder builder) Create a date time field.create(DurationFieldBuilder builder) Create a duration field.create(FormulaFieldBuilder builder) Create a formula field.create(GroupFieldBuilder builder) Create a group field.create(GroupMultipleFieldBuilder builder) Create a group multiple field.create(ListExtFieldBuilder builder) Create a list external field.create(ListExtMultipleFieldBuilder builder) Create a list ext multiple field.create(ListMultipleFieldBuilder builder) Create a list multiple field.create(ListParentFieldBuilder builder) Create a list field.create(NumberFieldBuilder builder) Create a number field.create(PriorityFieldBuilder builder) Create a priority field.create(ProjectFieldBuilder builder) Create a project field.create(ProjectMultipleFieldBuilder builder) Create a project multiple field.create(ScriptFieldBuilder builder) Create a script field.create(StatusFieldBuilder builder) Create a status field.create(TextFieldBuilder builder) Create a text field.create(TextMultipleFieldBuilder builder) Create a text multiple field.create(UserFieldBuilder builder) Create a user field.create(UserMultipleFieldBuilder builder) Create a user multiple field.voidDelete the field.get()Get the list of fields.get(com.atlassian.jira.user.ApplicationUser applicationUser, com.atlassian.jira.project.Project project) Get fields by application userGet the field by id.Get the list of fields based on the user languageGet the field by name.Get the field by name.Get the list of fields based on the language of the user.getByCustomFieldId(Long customFieldId) Get by custom field id.Deprecated.Deprecated.Get date field builder.Get date time field builder.Get duration field builder.getExternalFieldsUsedConnection(int connectionId) Get the list of the External fields that is used by one connectionGet a restriction builder by field.Get formula field builder.Get group field builder.Get group multiple field builder.getHierarchy(ListField field) Get the complete hierarchy of a fieldGet list external field builder.Get list external multiple field builder.Get list field builder.Get list multiple field builder.Get number field builder.Get all predefined fieldsGet priority field builder.Get project field builder.Get project multiple field builder.Get script field builder.Deprecated.Deprecated.Get all fields without systemGet status field builder.Get all system fieldsgetSystemFields(Locale locale) Get all system fields based on the language of the userGet a text field builder.Get text multiple field builder.Get user field builder.Get user multiple field builder.getWithIgnoreCase(String name) Get the field by name with ignore casegetWithIgnoreCase(String name, Locale locale) Get the field by name with ignore casevoidUpdate the field.
- 
Method Details- 
getTextFieldBuilderTextFieldBuilder getTextFieldBuilder()Get a text field builder.- Returns:
- the text field builder
 
- 
createCreate a text field.- Parameters:
- builder- the text builder
- Returns:
- the text field
 
- 
getTextMultipleFieldBuilderTextMultipleFieldBuilder getTextMultipleFieldBuilder()Get text multiple field builder.- Returns:
- the text multiple field builder
 
- 
createCreate a text multiple field.- Parameters:
- builder- the text multiple builder
- Returns:
- the text multiple field
 
- 
getNumberFieldBuilderNumberFieldBuilder getNumberFieldBuilder()Get number field builder.- Returns:
- the number field builder
 
- 
createCreate a number field.- Parameters:
- builder- the number field builder
- Returns:
- the number field
 
- 
getDurationFieldBuilderDurationFieldBuilder getDurationFieldBuilder()Get duration field builder.- Returns:
- the duration field builder
 
- 
createCreate a duration field.- Parameters:
- builder- the duration field builder
- Returns:
- the duration field
 
- 
getDateFieldBuilderDateFieldBuilder getDateFieldBuilder()Get date field builder.- Returns:
- the date field builder
 
- 
createCreate a date field.- Parameters:
- builder- the date field builder
- Returns:
- the date field
 
- 
getDateTimeFieldBuilderDateTimeFieldBuilder getDateTimeFieldBuilder()Get date time field builder.- Returns:
- the date time field builder
 
- 
createCreate a date time field.- Parameters:
- builder- the date time field builder
- Returns:
- the date time field
 
- 
getUserFieldBuilderUserFieldBuilder getUserFieldBuilder()Get user field builder.- Returns:
- the user field builder
 
- 
createCreate a user field.- Parameters:
- builder- the user field builder
- Returns:
- the user field
 
- 
getUserMultipleFieldBuilderUserMultipleFieldBuilder getUserMultipleFieldBuilder()Get user multiple field builder.- Returns:
- the user multiple field builder
 
- 
createCreate a user multiple field.- Parameters:
- builder- the user multiple field builder
- Returns:
- the user multiple field
 
- 
getGroupFieldBuilderGroupFieldBuilder getGroupFieldBuilder()Get group field builder.- Returns:
- the group field builder
 
- 
createCreate a group field.- Parameters:
- builder- the group field builder
- Returns:
- the group field
 
- 
getGroupMultipleFieldBuilderGroupMultipleFieldBuilder getGroupMultipleFieldBuilder()Get group multiple field builder.- Returns:
- the group multiple field builder
 
- 
createCreate a group multiple field.- Parameters:
- builder- the group multiple field builder
- Returns:
- the group multiple field
 
- 
getProjectFieldBuilderProjectFieldBuilder getProjectFieldBuilder()Get project field builder.- Returns:
- the project field builder
 
- 
createCreate a project field.- Parameters:
- builder- the project field builder
- Returns:
- the project field
 
- 
getProjectMultipleFieldBuilderProjectMultipleFieldBuilder getProjectMultipleFieldBuilder()Get project multiple field builder.- Returns:
- the project multiple field builder
 
- 
createCreate a project multiple field.- Parameters:
- builder- the project multiple field builder
- Returns:
- the project multiple field
 
- 
getFormulaFieldBuilderFormulaFieldBuilder getFormulaFieldBuilder()Get formula field builder.- Returns:
- the formula field builder
 
- 
createCreate a formula field.- Parameters:
- builder- the formula field builder
- Returns:
- the formula field
 
- 
getScriptFieldBuilderScriptFieldBuilder getScriptFieldBuilder()Get script field builder.- Returns:
- the script field builder
 
- 
createCreate a script field.- Parameters:
- builder- the script field builder
- Returns:
- the script field
 
- 
getStatusFieldBuilderStatusFieldBuilder getStatusFieldBuilder()Get status field builder.- Returns:
- the status field builder
 
- 
createCreate a status field.- Parameters:
- builder- the status field builder
- Returns:
- the status field
 
- 
getPriorityFieldBuilderPriorityFieldBuilder getPriorityFieldBuilder()Get priority field builder.- Returns:
- the priority field builder
 
- 
createCreate a priority field.- Parameters:
- builder- the priority field builder
- Returns:
- the priority field
 
- 
getListFieldBuilderListParentFieldBuilder getListFieldBuilder()Get list field builder.- Returns:
- the list field builder
 
- 
createCreate a list field.- Parameters:
- builder- the list field builder
- Returns:
- the list field
 
- 
getListMultipleFieldBuilderListMultipleFieldBuilder getListMultipleFieldBuilder()Get list multiple field builder.- Returns:
- the list multiple field builder
 
- 
createCreate a list multiple field.- Parameters:
- builder- the list multiple field builder
- Returns:
- the list multiple field
 
- 
getListExtFieldBuilderListExtFieldBuilder getListExtFieldBuilder()Get list external field builder.- Returns:
- the list external field builder
 
- 
createCreate a list external field.- Parameters:
- builder- the list external field builder
- Returns:
- the list external field
 
- 
getListExtMultipleFieldBuilderListExtMultipleFieldBuilder getListExtMultipleFieldBuilder()Get list external multiple field builder.- Returns:
- the list external multiple field builder
 
- 
createCreate a list ext multiple field.- Parameters:
- builder- the list external field builder
- Returns:
- the list external multiple field
 
- 
getFieldRestrictionBuilderFieldRestrictionBuilder getFieldRestrictionBuilder()Get a restriction builder by field. In order to include restriction at the field level- Returns:
- RestrictionBuilder
 
- 
cloneClone a field.- Parameters:
- field- the field to be cloned
- name- the name of the new field
- Returns:
- the field cloned
 
- 
getGet the list of fields.- Returns:
- the list of fields.
 
- 
getGet the list of fields based on the language of the user.- Parameters:
- locale- the locale
- Returns:
- the list of fields.
 
- 
getStandardFieldsGet all fields without system- Returns:
- list of fields
 
- 
getSystemFieldsGet all system fields- Returns:
- list of system fields
 
- 
getSystemFieldsGet all system fields based on the language of the user- Parameters:
- locale- the locale
- Returns:
- list of system fields
 
- 
getCalculatedFieldsDeprecated.Deprecated. There are not any Calculated Fields. Get all calculated fields- Returns:
- list of calculated fields
 
- 
getStandardAndCalculatedFieldsDeprecated.Deprecated. Use the following method: getStandardFields() Get all fields without system fields- Returns:
- list of fields
 
- 
getPredefinedFieldsGet all predefined fields- Returns:
- list of predefined fields
 
- 
getGet the field by id.- Parameters:
- id- the id of the field
- Returns:
- the field
 
- 
getGet the list of fields based on the user language- Parameters:
- locale- the locale
- Returns:
- the list of fields.
 
- 
getGet the field by name.- Parameters:
- name- the name of the field
- Returns:
- the field
 
- 
getGet the field by name.- Parameters:
- name- the name of the field
- locale- the locale
- Returns:
- the field
 
- 
getWithIgnoreCaseGet the field by name with ignore case- Parameters:
- name- the name of the field
- Returns:
- the field
 
- 
getWithIgnoreCaseGet the field by name with ignore case- Parameters:
- name- the name of the field
- locale- the locale
- Returns:
- the field
 
- 
getList<Field> get(com.atlassian.jira.user.ApplicationUser applicationUser, com.atlassian.jira.project.Project project) Get fields by application user- Parameters:
- applicationUser- User to check view permissions in each field
- project- Project to get fields
- Returns:
- All fields with user permission in project
 
- 
getByCustomFieldIdGet by custom field id.- Parameters:
- customFieldId- the custom field id of the field
- Returns:
- the field
 
- 
updateUpdate the field.- Parameters:
- field- the field to be updated
 
- 
deleteDelete the field.- Parameters:
- field- the field of the field
 
- 
getExternalFieldsUsedConnectionGet the list of the External fields that is used by one connection- Parameters:
- connectionId- id of the connection
- Returns:
- the list of the External fields
 
- 
getHierarchyGet the complete hierarchy of a field- Parameters:
- field- the field to get the hierarchy
- Returns:
- an object with the complete hierarchy
 
 
-