Creating Jira defects

You can create a Jira defect for a test available in your project and track the defect from HCL OneTest Server after the test run is complete.

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.
  • Configured Jira in HCL OneTest Server for your project. See Configuration of Jira as a change management system.
    Note: You must have the project Owner access to configure Jira.
  • Initiated a test run of a test available in your branch from the Execution page.

About this task

After you configure Jira for your project on HCL OneTest Server, you can create a Jira defect for a test available in your project and track the defect from the Results page after the test run is complete.
Note: You can create a Jira defect for a test result from the Results page only if you have executed the test on HCL OneTest Server.

Procedure

  1. Open your project on HCL OneTest Server.
  2. Run a test from the Execution page.
  3. Click Results from the left pane to open the Results page.
  4. Select the test result from the Results page.
  5. Click the Jira: Raise Defect iconRaise Jira defect icon from Actions.
    Important: You can create a Jira defect for a test result only if Jira is configured to your server project. If Jira is not configured with your server project and you click the Open action menu button from Actions on the Results page for a test result, you can see a message is displayed on the Results page that states that there is no change management system configured for the project. You must then contact your project Owner to configure Jira for the project. You project Owner can then click the link provided in the message to open the project to configure Jira for your project.
    The Raise defect in Jira page is displayed with the fields available for your project.
  6. Enter the information required for all the fields, and then click Create.
    Important: You can create a story, defect, or task. Creating other issue types are not supported.
    A Jira defect is created.
  7. Expand the test result to see the Jira tracking ID details from the Results page.
    Note: You can raise multiple defects for a test, if required.

Results

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

What to do next

You can now click the Jira tracking ID from the Results page to open the defect and view the details. The Reporter field on the Jira server page displays the name of the person who has created the defect. To know more about Jira server defects and how it works, refer to the documentation.