Use Create a defect with AI during a Test Run to prepare a Jira defect from the test’s execution details. Vansah Intelligence drafts the summary and description; you review the content and complete Jira’s create form before a work item is created.
Before you begin
Enable Vansah Intelligence for the Jira space. See Activate Vansah Intelligence.
Make sure you have permission to use Vansah Intelligence and to create the required Jira work item type.
Open the relevant Test Run and record a useful actual result. Include what happened, the error message, and how it differs from the expected result.
Generate and create the defect
Open the Test Run where you found the problem. For a Multi Steps script, find the relevant step and expand its execution details.
Save the Actual Result and review the step and expected result. Clear execution notes give the draft better context.
Open the defect menu beside the actual result and select Create a defect with AI.
Wait for the generated draft and Jira create form to open.
Review and edit the summary and description. Check that the steps, expected behavior, and observed behavior are accurate.
Choose the destination Jira space and work item type, then complete any required Jira fields, such as priority or assignee.
Select Create. Return to the Test Run and confirm that the new work item appears among its linked defects.
What AI uses and prepares
The draft uses the case headline and the execution text available for that script, such as the step, expected result, and actual result. The generated description can include reproduction details and a link back to the Test Run.
Record important log messages as readable text in the actual result. Keep screenshots and files as supporting evidence, and review their presence in the Jira defect before sharing it. Attaching a file does not mean its contents are automatically analyzed.
Set and verify Jira fields in the create form. The AI action prepares summary and description content; required fields and available work item types depend on your Jira configuration.
If the action is unavailable or creation fails
If you see an option to enable AI, check activation and permissions with your administrator.
Use Add new defect to write a defect manually, or Link/Manage existing defects if the problem already has a Jira work item.
If Jira created the work item but linking failed, find that existing work item and link it to the Test Run. Check before trying Create again to avoid duplicates.
Review AI-generated text before saving. Correct unsupported assumptions and remove sensitive information that is not needed to explain the defect.

