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

As a user, I need specific information about the failed test creation via Xray API

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: New
    • Resolution: Unresolved
    • None
    • None
    • REST API
    • None
    • UNCOVERED

    Description

      When I use the following Xray API to Create Tests with improper permissions

      POST https://xray.cloud.getxray.app/api/v2/import/test/bulk 

      I get the following error on checking the Job status

      GET https://xray.cloud.getxray.app/api/v1/import/test/bulk/<Job_id>/status 
      { "status": "failed", "progress": [ "[Wed, 09 Oct 2024 07:42:34 GMT] Preprocessing the information of the 1 issues to import.", "[Wed, 09 Oct 2024 07:42:39 GMT] Creating 1 test(s) in JIRA." ], "progressValue": 20, "result": { "error": "Error importing tests." } }
      

      The error should show specific information related to the failure of the API stating inaccurate permissions.

      Attachments

        Activity

          People

            helder.ferreira Helder Ferreira
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: