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

Xray 7.12.0 is using the new project key instead of the original key for storing attachments

    XporterXMLWordPrintable

Details

    Description

      Description: After Xray version upgrade change the attachment location is changed, and older attachments are not loading. New attachments are working fine. 

      Pre-conditions: NA

      How to reproduce

      1. Create a project
      2. Install Xray V 7.11
      3. Create a Manual Test case (with attachments) and add a Test Execution under it.
      4. Run the TE and add a few evidence.
      5. Change the project key /jira_server>/secure/project/EditProject!default.jspa?pid=
      6. Update Xray to the version to 7.12
      7. Open the same Test Run and open the evidence.
        1. Evidence will not open because Xray is trying to load the evidence using the new project key and it should use the original key.
      8. Add more attachments to Tests or Test Runs. Xray will create a folder with the new project key instead of using the original key

      Actual result/Attachments

      Expected result: Evidences from before upgrading to Xray 7.12.0 should open as usual. Xray should use the same directory as Jira to store the new attachments

      Version

      • 7.11.X

      Workaround: NA

       

      Attachments

        Activity

          People

            dpca Diamantino Campos
            jovish.sharma Jovish Sharma
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 45 minutes
                1h 45m