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

Using GET for a Test Run Comment is not working when the Comment is empty

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 6.1.3
    • None
    • Execution Page, REST API
    • None
    • UNCOVERED

    Description

      Description
      Using GET for a Test Run Comment is not working when the Comment is empty.

      Pre-conditions
      Execution without any comment:

      How to reproduce

      1. perform the request, using REST API either v1 or v2:
        http://SERVER/rest/raven/1.0/api/testrun/1602/comment
        
        http://SERVER/rest/raven/2.0/api/testrun/1602/comment
        

      Actual result/Attachments
      Null result in both requests:

      Expected result
      Empty string.

      Version

      • Xray v6.1.3

      Attachments

        1. image-2022-04-06-14-17-42-022.png
          145 kB
          Francisco Silva [X]
        2. image-2022-04-06-14-17-55-721.png
          17 kB
          Francisco Silva [X]
        3. image-2022-04-06-14-18-37-535.png
          56 kB
          Francisco Silva [X]
        4. image-2022-04-06-14-19-05-421.png
          36 kB
          Francisco Silva [X]

        Activity

          People

            helder.ferreira Helder Ferreira
            fnsi Francisco Silva [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: