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

Support migrating Zephyr v5

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.6.6, 4.0.0
    • Zephyr_migration
    • None
    • XRAY-4.0.0 Sprint 7 Red, XRAY-4.0.0 Sprint 8 Red
    • OK

    Description

      When executing the migration tool we get this exception:

      java.util.concurrent.CompletionException: java.lang.IllegalStateException: Incorrect usage of JIRA/lucene search API. You can only create/use: ManagedIndexSearcher inside a context (request or Jira-Thread-Local). Check: JiraThreadLocalUtils for details.
      at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      (...)

      This is happens on Jira8. May be caused by the fact that we use Lucene to get some information but the whole migration process is executed in a parallel thread, for instance the total of Zephyr tests to migrate. The JQL search seems to have problems when running in parallel threads. Some search let me find three solutions:

      Attachments

        Activity

          People

            dpca Diamantino Campos
            dpca Diamantino Campos
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 day, 7 hours, 15 minutes
                1d 7h 15m