public interface OwnershipTransferHandler extends AnonymizationHandler<OwnershipTransferParameter>
This extension point is executed as the first step of the user anonymization process. Any errors returned by the implementations will stop the process.
To register an instance of this handler to be executed by Jira, implement this interface and add
ownership-transfer-handler module to the atlassian-plugin.xml, e.g.:
<ownership-transfer-handler key="my-ownership-transfer-handler" class="com.example.OwnershipTransferHandlerImpl" i18n-name-key="ownership.transfer.handler.name"> <restrict application="jira" version="[8.3.0,)" /> </ownership-transfer-handler>
|Modifier and Type||Method and Description|
Used to display in the UI a list of entities that require an ownership transfer, without actually performing the operation yet.
@Nonnull Collection<AffectedEntity> getAffectedEntities(@Nonnull OwnershipTransferParameter ownershipTransferParameter)
OwnershipTransferParameter.getTransferToUserKey()during computing affected entities.
This method should return results as fast as possible, as it is affecting the UI.
Copyright © 2002-2020 Atlassian. All Rights Reserved.