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

When migrating an inactive User, it will not be possible to create Test Executions from Test that have it as Reporter

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Xray DC - v7.11.2
    • Continuous Delivery
    • None
    • Jira v9.12.15, v10.3.3

    • UNCOVERED

    Description

      Description
      If you migrate an inactive User, and that User is the Reporter from some Tests and those Tests belong to a Test Plan, when trying to create a Test Execution from those Tests, it will not allow to create it and it will show a spinning wheel indefinitely.

      Pre-conditions
      Have run a migration with an inactive User as the Reporter of some Tests

      How to reproduce

      1. Go to a Jira DC instance, create a Test Plan with some Tests and execute it, and select a specific User for it.
      2. Go to User management and mark that User as inactive
      3. Run a migration to another DC instance with an inactive User
      4. On the new instance, go to the migrated Test Plan and try to Create a New Test Execution

      Actual result/Attachments
      It will show a spinning wheel indefinitely. From the HAR file we can see the following error from Jira API:

      Expected result
      As the error is from Jira API it´s not on Xray's side to solve this. Still, we should treat this differently instead of just having a spinning wheel indefinitely and present an warning informing that the User is inactive/doesn´t exist.

      Solution
      To solve this situation, it´s only necessary to select an active User as the Reporter of the Tests

      Attachments

        Activity

          People

            dpca Diamantino Campos
            mrap Mario Peixoto
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: