Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3809

Xray Migration Tool should not map IDs from unrelated projects

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • R3.4.0
    • None
    • R3.4.0 S5, R3.4.0 S4, R3.4.0 S6
    • OK

    Description

      In some scenarios, the IDs are mapped even from projects that are not related to the current project being imported. Note: The ID mapping is necessary to recreate associations that existed in the Jira-Origin.

      Let's take this scenario as example: (Jira-Origin is where the backup file is generated, Jira-Target is where the project is imported)

      • Jira-Origin with the following projects: A, B, C, D
      • In the last days there were some migration processes to import the projects A, B, C from Jira-Origin to Jira-Target
      • Now Jira-Target has the following projects: A, B, C
      • If the admin now starts the migration for the project D, because project A, B and C are in the backup file and in the Jira-Target, Xray will process the ID mappings for these projects, even if they do not have any association with project D.

      This is unnecessary processing and consumes unnecessary resources (each mapper is in-memory). 

      Note: Even if project D is not an Xray project nor is used for Requirement Coverage, nor has associations to other Xray projects, the Xray import handlers will still be called and the mappings will be processed.

      Attachments

        Issue Links

          Activity

            People

              pmmr Pedro Rodrigues
              dmdu David Duarte
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 3 days, 7 hours, 40 minutes
                  1w 3d 7h 40m