Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-4227

Improve the way how Xporter is mapping Insight data

    XporterXMLWordPrintable

Details

    • Improvement
    • Status: Waiting Approval
    • Minor
    • Resolution: Unresolved
    • Xporter DC 7.0.2
    • None
    • FieldMapper
    • None
    • UNCOVERED

    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.

      Attachments

        Activity

          People

            bernardo.cottim Bernardo Cottim
            rmbr Rui Rodrigues
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: