Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-9399

We get a 404 Error on downloading Xray attachments with Xray Enterprise Standalone, using download link /enterprise/api/v2/attachments/<id>

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • PRD - Xray Enterprise Standalone App - App editions
    • None
    • Attachments, REST API
    • None
    • Jira Cloud, Windows, Chrome, Postman

    • Enterprise
    • UNCOVERED

    Description

      Description:

      In Xray Enterprise (App Editions Standalone), we get a 404 Error on trying to download the attachment with the download link for Xray Enterprise Attachments - /enterprise/api/v2/attachments/<id> 

      Pre-conditions:

      Have Xray Attachments - Test Setp, Evidence - Global/Test Setp Run

      How to reproduce

      • Using GraphQL query, get the download link of the Xray attachments
      {
          getTest(issueId: "10007") {
                      steps {
                  attachments {
                      downloadLink            }        }    }} 
      
      
      or 
      
      
      {
          getTestExecution(issueId: "10006") {
              testRuns(limit:10){
                  results{
                      evidence{ downloadLink }
                  }        }    }    }
      
      

      404 error on downloading the attachment with /enterprise, whereas download works if we remove /enterprise.

      Expected result

      The attachment should be downloaded with the API.

      Version

      • Xray Enterprise Standalone App - App Editions

      Workaround:

      Remove the /enterprise from the download link.

      Attachments

        Activity

          People

            bernardo.cottim Bernardo Cottim
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: