java.lang.Object | ||
↳ | com.atlassian.jira.imports.project.mapper.AbstractMapper | |
↳ | com.atlassian.jira.imports.project.mapper.CustomFieldMapper |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Mapper for Custom Fields. This Mapper collects information about which custom fields are "in-use" in the backup projects data. The mapper also records what the issue type is for the issue's which contain the custom field data.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is called when we parse the
| |||||||||||
This method is called when we parse the
| |||||||||||
Get the issue type in use for the provided issue id.
| |||||||||||
Will return a collection of issue type ids that are in use on issues that have values for the specified
custom field id.
| |||||||||||
Associates issue types to custom fields.
| |||||||||||
This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.imports.project.mapper.AbstractMapper
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.imports.project.mapper.ProjectImportIdMapper
|
This method is called when we parse the registerIssueTypesInUse()
method.
oldIssueId | The old issue ID from the backup XML. |
---|---|
oldIssueTypeId | The old issue type ID from the backup XML. |
This method is called when we parse the registerIssueTypesInUse()
method should be called to associate issuetypes
to custom fields.
oldCustomFieldId | The old CustomFieldId from the backup XML. |
---|---|
oldIssueId | The old issue ID from the backup XML. |
Get the issue type in use for the provided issue id.
issueId | the issue id whose issue type you want to find |
---|
Will return a collection of issue type ids that are in use on issues that have values for the specified custom field id.
customFieldId | the custom field id |
---|
Associates issue types to custom fields. This should be called after the parse of all entities is done to give
all the custom field values (there may be more than just
This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes. MapperHandlers should call the public method specific to the concrete class they use.
oldId | The ID of the required object from the import file. |
---|---|
oldKey | The unique key of the required object from the import file. |