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

cannot remove step attachment by id, using the REST API

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • R2.0.10
    • R2.1.0
    • None
    • None
    • R2.1.0 S4
    • UNCOVERED

    Description

      Removing an attachment by id from a step, gives an error:

      DELETE http://127.0.0.1:8080/rest/raven/1.0/api/testrun/2808/step/2035/attachment/447

      RemoveException: Could not find attachment with id 2808
      

      It seems Xray is confusing the testrun id with the attachment id.

      Attachments

        Activity

          People

            smsf Sergio Freire
            smsf Sergio Freire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h