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

The content-type used in the Xray internal endpoint is not coherent with the format used in the Body

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.1
    • Core, Execution Page, REST_API
    • None
    • XRAY 2021 Sprint 16, XRAY 2021 Sprint 17, XRAY 2021 Sprint 18
    • OK

    Description

      Description
      For some Xray internal endpoints used in the Execution details page, the Body passed is not according to the content-type passed in the Request header, that usually is: "application/json".
      Some customers use a tool that validates all the requests done in the network (Jira <-> Xray), to know if the content-type passed in the header is according to the format of the Body passed, and it fails.

      How to reproduce

      1. Go to the Test Execution details page
      2. Try to add a new comment there and check the "Content-type" passed in the Request header and the format of the Body

      Actual result/Attachments

      Expected result
      The expected result is that the Body passed in this request be a valid JSON

      Version

      • Xray 4.2.11

      Environment

      • Jira 8.6.0

      Attachments

        Activity

          People

            bims Beatriz Silva [X] (Inactive)
            maaf Miguel Fernandes
            Beatriz Silva [X] (Inactive), Fabio Cunha
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 1 day, 1 hour
                3w 1d 1h