java.lang.Object | |
↳ | com.atlassian.jira.imports.project.validation.CustomFieldMapperValidatorImpl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if the new custom field is valid for all the issue types that the old custom field is used from.
| |||||||||||
Returns true if the given customFieldTypeKey from the Project Import exists in the current system, and also
implements the CustomFieldImportable interface.
| |||||||||||
Validates the automatic mappings that have been created to see if the mappings are relevant in the current
JIRA instances setup.
|
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||
![]()
|
Returns true if the new custom field is valid for all the issue types that the old custom field is used from.
externalCustomFieldConfiguration | contains the configuration of the custom field as defined in the backup XML. |
---|---|
newCustomField | is a custom field in the current JIRA instance who's context is being checked. |
oldCustomFieldId | the old custom field id from the backup XML which will indicate which issue types the field was used in. |
customFieldMapper | is the populated custom field mapper. |
issueTypeMapper | is the populated issue type mapper. |
projectKey | is the project we are importing into. |
Returns true if the given customFieldTypeKey from the Project Import exists in the current system, and also implements the CustomFieldImportable interface.
customFieldTypeKey | Key of the CustomField Type that we are checking. |
---|
Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instances setup. The following checks are reported as errors and will stop the import:
Note that validation of the actual values in the Custom Fields is done separately by the Custom Field itself.
i18nHelper | helper bean that allows us to get i18n translations |
---|---|
backupProject | is the backup project the data is mapped from |
issueTypeMapper | is the populated issueTypeMapper |
customFieldMapper | is the populated statusMapper |