com.atlassian.jira.imports.project.validation
Interface IssueLinkTypeMapperValidator
- All Known Implementing Classes:
- IssueLinkTypeMapperValidatorImpl
public interface IssueLinkTypeMapperValidator
Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instance.
This validator makes sure that the IssueLinkTypes that are required:
- exist in the current instance
- is or is not a subtask link as appropriate
- Since:
- v3.13
validateMappings
MessageSet validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueLinkTypeMapper issueLinkTypeMapper)
- This validator makes sure that the IssueLinkTypes that are required:
- exist in the current instance
- is or is not a subtask link as appropriate
- Parameters:
i18nHelper
- helper bean that allows us to get i18n translationsbackupProject
- is the backup project the data is mapped fromissueLinkTypeMapper
- is the populated issueLinkTypeMapper
- Returns:
- a MessageSet that will contain any generated errors (which should stop the import) or warnings
(which should be displayed to the user). The error and warning collection's will be empty if all validation
passes.
Copyright © 2002-2013 Atlassian. All Rights Reserved.