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

As admin, i want Xray to automatically raise bugs if a Test or Test Execution or a Test Run fail, within some criteria

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: Gathering Interest
    • Resolution: Unresolved
    • None
    • None
    • Automation, Defects
    • None
    • UNCOVERED

    Description

      As admin, i want to be able to set rules and some degree of automation into Xray so it raises bugs depending on Test or Test Execution criterias:

      Example:
      I am using Robot Framework, and i want that:
      1. Whenever a test run/test execution fails, that triggers Jira to create a new issue. If more than one test case fails, the same number of issues should be raised in Jira. There should be options to turn it for Test Execution, Test Run or both, levels.

      2.Some data has to be automatically brought from the Test/Test Execution: Issue summary is one of them. Basically, the root cause or failure reason of a failed test case is available in Output.xml file. You can grab that text and use it as issue summary. In Robot Framework, we probably use "Verify" keywords to verify whether the test case failed or not. Label and Priority should be the same as the Test case triggering the behavior.

      3.An existing feature in Xray - test cases are automatically created or updated in Jira when correctly mapped on the Robot/framework test results file. We can link the created issues to the failed test cases. So in the next execution, if the test case is passed, the linked issues will be marked as Resolved or Closed. This refers to the defect raised, check point 1.

      Attachments

        Issue Links

          Activity

            People

              helder.ferreira Helder Ferreira
              drcs Douglas Souza
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: