Details
-
Improvement
-
Status: Waiting Approval
-
Minor
-
Resolution: Unresolved
-
Xporter DC 7.0.2
-
None
-
None
Description
Problem
During the mapping process, Xporter gets all the attributes for each customer field provided by the Insight app. This adds some performance issues caused by permissions validation for non Jira admin users.
The method hasAnyInsightPermission which is used to determine if a given user has any of the specified permissions (ROLE_TYPE_OBJECT_TYPE_USER, ROLE_TYPE_OBJECT_TYPE_DEVELOPER, ROLE_TYPE_OBJECT_TYPE_MANAGER) for a particular object. It first checks if the user has admin permission by calling the hasAdminPermission method. If the user has admin permission, the method returns true immediately.
Impact
Bulk Export with Xporter in some cases, takes about 20 seconds for users in the Jira administrators and 4 to 12 minutes for others.