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

As system, I can export the Pre-Conditions associated to a Test using the REST API

    XporterXMLWordPrintable

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • R3.1.0
    • Integration
    • R3.1.0
    • OK

    Description

      As system, the REST API should provide a new endpoint for exporting Pre-Conditions associated with a Test, including the rank information.

      GET /rest/raven/1.0/api/test/{key}/preconditions
      

      Example of expected response:

      [
         {
            "id":13602,
            "rank":1,
            "key":"CALC-33",
            self: "http://jiraserver/rest/api/2/issue/10401",
            "reporter":"admin",
            "assignee":"admin",
            "type":"Automated[Cucumber]",
            "condition":"Condition example".
         },
         {
            "id":13600,
            "rank":2,
            "key":"CALC-42",
             self: "http://jiraserver/rest/api/2/issue/10402",
             "reporter":"admin",
            "assignee":"admin",
            "type":"Manual",
            "condition":"Condition example".  
         }
      ]
      

      Attachments

        Activity

          People

            pmmr Pedro Rodrigues
            smsf Sergio Freire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Time Spent - 3 days, 1 hour, 30 minutes Remaining Estimate - 6 hours, 30 minutes
                6h 30m
                Logged:
                Time Spent - 3 days, 1 hour, 30 minutes Remaining Estimate - 6 hours, 30 minutes
                3d 1h 30m