AIQ Jira Integration Behavior
After you have configured the Jira integration details for your scenario, the following behavior will occur.
Results
-
The scenario will have a short description with the list of failed test cases, their duration, and the failure reason.
When a scenario fails
-
If a scenario fails for the first time AIQ will:
-
Updated or create a Jira Issue. If you have defined an existing Jira ticket number, AIQ will update that ticket. If you left that configuration field blank, AIQ will create a new Jira ticket.
-
Upload the files to Jira. AIQ takes all the files located in the same folder where the scenario file is located, the files that start with a dot (“.”) are ignored.
-
-
If a scenario fails for the second time AIQ will:
-
Search for the Issue Number assigned to the scenario physical path and will upload the scenario files again.
-
-
When a scenario fails, The Jira Issue create will have a summary as follows:
The scenario has failed due to one or more test cases. [1009765640]
1009765640 is the hash code for “E:\Tickets\AIQ-2780\testTicket.scenario”, without the quotes. Using this method, AIQ can bind a scenario file with a Jira Issue and avoid creating a duplicated ticket every time the scenario is executed.
When a scenario succeeds
-
If a scenario succeeds AIQ will close the Jira Issue.
When a previously successful scenario fails after being rerun
-
If a scenario is executed again and fails, AIQ will reopen the Jira as "In Progress".