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

Traceability Report error when using defects from another project

    XporterXMLWordPrintable

Details

    Description

      Description
      When generating a Traceability report where we have a defect on project B and the user does not have browse permission, we get a 500 error.

      Pre-conditions
      Login with a user with browse permission on Project A but not on Project B

      How to reproduce
      1. Project A -> Create Requirement

      2. Project A -> Create Test issue

      3. Project A -> Create Test Execution issue

      4. Execute and create a defect on Project B

      5. Define a version on the report scope

      6. Generate report.

      Actual result/Attachments
      we get an error:
      error: {"status-code":500,"stack-trace":"java.lang.NullPointerException\n\tat com.xpandit.raven.reports.traceability.service.TraceabilityReportDataProviderImpl.a(Unknown Source)

      Expected result
      Should be able to generate the Report

       

      Attachments

        Activity

          People

            dpca Diamantino Campos
            goncalo.nunes Gonçalo André Sousa Nunes
            Marcelo Ferreira, Patricia Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 7 hours
                7h