com.atlassian.jira.imports.project.validation.StatusMapperValidator |
Known Indirect Subclasses |
Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instances setup. This validator makes sure that the statuses that are required:
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines if a Status is valid within the context of the provided project and the provided issue types.
| |||||||||||
Makes sure that the statuses that are required:
|
Determines if a Status is valid within the context of the provided project and the provided issue types.
oldStatusId | the status id from the backup file |
---|---|
existingStatus | the status object from the new system that may map to the old status, this can be null |
statusMapper | the status mapper that will provide a list of the associated issue type for the status |
issueTypeMapper | the fully mapped and populated issueTypeMapper that will allow us to map the backup issue types to existing issue types. |
projectKey | the project key that will allow us to find the correct workflow scheme for the project we are importing into |
Makes sure that the statuses that are required:
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 |
statusMapper | is the populated statusMapper |