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

whenever exporting features through REST API, directories must be recreated

    XporterXMLWordPrintable

Details

    • New Feature
    • Status: Gathering Interest
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • UNCOVERED

    Description

      Whenever exporting Cucumber/Gherkin features through REST API as a zipped file, directories must be recreated.

      We need to make the process of importing features=>exporting features idempotent, as much as we can.

      Users may have their features organized logically and some tools (e.g. gwen) may use some auxiliary files for those features, which will be under those specific folders.

      Therefore, we need to create the .feature inside of the same folder it had initially before it was imported to Jira.

      Concerning the naming of the feature file itself, it would be interesting to have the same name instead of "1_...."; however, this change needs to be evaluated properly.

       

      Example: if we export the following Test, it will just create a 1_....feature file, at the current working directory.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: