Creating Jira defects

You can create a Jira defect for the test result from HCL OneTest Server when actual test results differ from the expected results.

Before you begin

You must have completed the following tasks:

  • Been a member of the project with the Owner or Tester role to create a defect for a test result.

  • Configured the Jira server in HCL OneTest Server for your project. See Configuring the Jira server.

  • Completed a test run and the test results are available from the Results page.

About this task

When you want to create a defect in HCL OneTest Server, the fields that display in the Raise defect in Jira window depend on the configuration done by the administrator of the Jira server. The fields that are configured as Required fields in the project on the Jira server, only those fields are displayed in the Raise defect in Jira window.

For example, if the administrator of Jira configured Affect version, Fix version, Priority, and Components fields as Required fields, only then these four fields are displayed in the Raise defect in Jira window.

If you want to view any additional fields in the Raise defect in Jira window from HCL OneTest Server, then you must inform your Jira server administrator to configure those additional fields as Required fields in the project on the Jira server. You can then use those fields in the Raise defect in Jira window when you create a defect from HCL OneTest Server.

You can refer to the Related information section to know more about Jira field configuration and how it works.

Procedure

  1. Open your project on HCL OneTest Server.
  2. Expand Analyze, and then click Results.
  3. Identify a test result for which you want to create a defect.
  4. Click the Jira: Raise Defect iconRaise Jira defect icon from the Actions column.

    The Raise defect in Jira window is displayed with the fields available in the Jira project.

    Note:
    • The default fields that display on the Raise defect in Jira window are as follows:

      • Issue Type
      • Summary
      • Description
    • The other fields that are configured as Required fields in the Jira project by the administrator of the Jira server are displayed in the Raise defect in Jira window.

  5. Enter the information required for all the fields, and then click Create.
    Note: You can create multiple defects for the same test result, if required.

Results

You have created a defect for the test result from HCL OneTest Server.

What to do next

You can expand the test result to view the Jira tracking ID from the Results page. You can then click the Jira tracking ID to open the defect and view the details of the defect in Jira.