public interface

IssueLinkTypeMapperValidator

com.atlassian.jira.imports.project.validation.IssueLinkTypeMapperValidator
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
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

Public Methods

public 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 translations
backupProject is the backup project the data is mapped from
issueLinkTypeMapper 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.