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

As a user, I can attach files to Tests and to Test steps, whenever using the Test Case Importer

    XporterXMLWordPrintable

Details

    • R3.0.0 S2
    • NOTRUN

    Description

      As a user, I can attach files to Tests and to Test steps, whenever using the Test Case Importer.

      For this, a column mapped to "Attachments" or "Step Attachments" should be used.

      In the CSV column, file(s) are refered by URL.

      The attachment may be referred by name (in this case the file:// protocol is assumed), by "file://" or "http(s)://".

      Multiple files may be specified within one CSV column; for this, the attachments must be delimited by space.

       

      Example:
       

      TCID Test Summary Component Step Data Result Step Attachments Attachments
      1 Test sum of two numbers UI press 1   1 somefile.gif calculator.png file:///photo/awesome_calc.png
      1     press key + + file1.png http://www.example.com/file2.gif  
      1     press 2   2    
      1     press key = 3    
      2 Simple Test Case Core press ON   calculator turned on   on.jpg off.jpg

       

      Notes:

      • inspired on JIRA CSV importer (see https://confluence.atlassian.com/adminjiraserver073/importing-data-from-csv-861253680.html)
      • You can also use the FILE protocol to access files in the import/attachments subdirectory of your JIRA home directory.
      • the mappings to "Attachments" or to "Step Attachments" can only be used once; thus, as an example, if you several step attachments then you should enumerate them in one column mapped to "Step Attachments"
      • attachments to the Test issue should be added in the row corresponding to the first step

       

      Attachments

        Activity

          People

            dpca Diamantino Campos
            smsf Sergio Freire
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Remaining Estimate - 1 week
                1w
                Logged:
                Time Spent - Not Specified
                Not Specified