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

When importing a feature file with a Requirement Key the link is not created if there is no prefix set

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.2.2, 4.2.14
    • prd-1, 6.0.0
    • Links, REST_API
    • OK

    Description

      Description
      When importing a feature file with a Requirement Key, the link is not created if there is no prefix set.

      Pre-conditions

      • Install Jira in an Oracle database
      • Empty prefixes in Cucumber Export Prefixes on the Xray settings

      How to reproduce

      1. Clear all the configuration values of the Cucumber Export Prefixes in the Xray settings,
      2. Import a feature file with a Requirement Key configured in the feature section.
        https://docs.getxray.app/display/XRAY/Importing+Cucumber+Tests+-+REST

      Actual result/Attachments

      1. The requirements link is not created when importing a feature file.

      Expected result

      1. The link "tests" is created between the new Cucumber Test case and the Requirement, based on the imported feature file.

      Version

      • Xray 4.2.X

      Attachments

        Activity

          People

            dpca Diamantino Campos
            rmsp Rogerio Paiva [X] (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified