Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-10907

Xray-Jenkins Plugin: Cucumber Features import task - Option "Modified in last hour" not working as expected

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Waiting Approval
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 14.0.0
    • None
    • Integration
    • None
    • Jenkins, Jira Cloud, Windows OS

    • UNCOVERED

    Description

      Description
      When importing Cucumber feature files into Xray Cloud from Jenkins using the "Xray: Cucumber Features Import Task", the "Modified in Last Hours" configuration is not being honored.

      The task is expected to import only the feature files that were modified within the specified time window. However, it imports all feature files available in the configured Cucumber Features directory, regardless of their last modified timestamp.

      Pre-conditions

      • Jenkins is integrated with Xray Cloud.
      • Multiple Cucumber feature files exist with different modification timestamps.

      How to reproduce

      • In Jenkins, configure the "Xray: Cucumber Features Import Task".
      • Set the Modified in Last Hours option so that only a subset of feature files should qualify for import.
      • Trigger the job using Build Now.
      • Review the Jenkins Console Output and the updates created in Jira/Xray.

      Actual result/Attachments
      The console logs and Jira/Xray updates indicate that all feature files are processed and imported, regardless of their modification timestamp.

      In the provided example, the configuration was set to process only files modified within the last 24 hours. However, none of the feature files met that criterion, yet multiple Test issues were still updated, demonstrating that all files were imported.

      Expected result
      The Modified in Last Hours setting should be respected, and only the feature files whose modification timestamps fall within the configured time range should be imported.
      Version

      • Xray Cloud 14.0.0

      Workaround
      Restrict the source file path to include only the feature files that should be imported. This ensures that unwanted files are not processed until the issue is resolved.

      Attachments

        1. Feature file Jenkins Import last modified Bug.gif
          7.26 MB
          Jayanthi Murthi
        2. image (21).png
          54 kB
          Jayanthi Murthi

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              jayanthi.murthi Jayanthi Murthi
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: