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

As system, whenever importing test results an asynchronous response with and id shall be provided

    XporterXMLWordPrintable

Details

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

    Description

      Whenever importing test results using any of the available REST APIs, if the request takes longer than x seconds (e.g., 30seconds) then an answer should be returned in HTTP JSON request.

       

       

      {    "jobId":"34a4106b1d0948d1aae1170cc8df3bb4", "status": "processing" } 

       

       

      A new endpoint should be provided to obtain the status of previously submitted import requests.

       

       GET /api/v2/import/execution/jobs/{jobId}/status

      {    "status": "successful", "message": "...", "json": ... } 

       

      {    "status": "error", "error": "..." } 

       

      • status: "accepted", "processing", "successful", "error", "not_found"

       

      TO BE REFINED (e.g., exact API syntax, timeout period, additional information in JSON content).

      Attachments

        Activity

          People

            helder.ferreira Helder Ferreira
            smsf Sergio Freire
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: