Document toolboxDocument toolbox

Header

Defect Management System

Qualitia Automation Studio (QAS) supports integration with the following defect management systems:

  • Jira

  • Azure DevOps

You can configure a QAS project to log a defect in the defect management system for a test case iteration execution.

When a defect is logged automatically or manually for a test case iteration, Qualitia does not verify whether the defect for that iteration is already created.

Integrating a QAS Project with a Defect Management System

If you enable the Auto Mode, then after the suite execution, QAS creates defects automatically in the mapped Jira/Azure DevOps project for the test case iterations whose suite execution status is defect. Else, after the suite execution, you need to manually create a defect in the test case iteration report.

To integrate a Qualitia Project with a defect management system:

  1. Log in to QAS - Client.

  2. Do one of the following to access the Project Configuration dialog box:

    • Access Project Management from the left navigation to view the Project Management screen. Select the project and click Configuration.

    • Access Settings from the left navigation to view the Settings screen. On the Settings screen, select Project Configuration to configure the settings.

  3. Expand Project Configuration and click Defect to open Defect Management System screen.

  4. Choose a Target Defect System by clicking one of the following:

    • None: If you select None all the fields on the Defect Management System screen will be disabled.

    • Azure DevOps: If you select Azure DevOps, enter the following details:

      • Server URL: Specify the TFS/Azure DevOps URL.

      • Password/PAT(Token): Specify the unique Personal Access Token (PAT) provided by Microsoft Azure DevOps.

      • Project: Select the project that you want to use to log defects for the selected Qualitia project.

        image-20241006-143108.png

    • Jira: If you select Jira, enter the following details:

      • Server URL: Specify the Jira Server URL to which you want to connect for logging the defects. The URL syntax looks like https://org name.atlassian.net/ (e.g. https://qualitia.atlassian.net/)

      • User Name: Specify your Jira User Name to connect with the Jira Project.
        Note: Make sure you have access to the project before creating defects, as you won't be able to log a defect without the access.

      • PAT(Token): Specify your Jira password to authenticate the Jira Project.
        To generate PAT:

        1. Go to JIRA.

        2. Click the Settings icon in the top-right corner.

        3. From the Settings window, click Atlassian account settings.

        4. Go to the Security tab and scroll down to the API Tokens section.

        5. Click Create and Manage API Tokens.

        6. On the Create and Manage API Tokens screen, click Create API Token.

          image-20241003-050613.png
        7. On the Create an API Token popup window, enter Label in the text field and click Create to generate the PAT token; else, click Cancel.

      • Connect: Click to connect to the Jira server.

      • Project: Select the Jira project that you want to use to log defects for the selected Qualitia project.

  5. Enable Auto Mode to allow Qualitia to auto-log the defects for the test case iterations with execution status “Defect”.

  6. Under Mandatory Defect Fields, enter the default values for the mandatory fields defined in the defect management system that must be used to auto-log the defects. For example, if your Jira project defines Severity and Priority for the defects as mandatory fields, then these two fields are displayed on this dialog box. You must enter the default values for these two fields to be used while auto-logging the defects.

  7. Under Additional Defect Fields, select the additional fields that you want use while logging the defects and click Add.


    Note: The Additional Defect Fields option is only available for Azure DevOps.

  8. Click Save to save the settings; otherwise, Discard.

Default values should be fetched for mandatory defect fields. The default values are already mentioned in Jira/ADO.

Replacing the Mapping for a Qualitia Project with another Defect Management Systems Project

You cannot directly change the settings in the Defect tab of Project Settings if you want to replace the mapping of a Qualitia Project to another Jira/Azure DevOps project. 

To replace the mapping for a Qualitia project with another defect management system project:

  1. Login to QAS - Client.

  2. Do one of the following to access the Project Configuration dialog box:

    • Access Project Management from the left navigation to view the Project Management screen. Select the project and click Configuration.

    • Access Settings from the left navigation to view the Settings screen. On the Settings screen, select Project Configuration to configure the settings.

  3. Expand Project Configuration and click Defect to open Defect Management System screen.

  4. Click Connect and select the Jira/ADO project that needs to be replaced.

  5. Enter the details.

  6. Click Save to continue; otherwise, Discard.

Change the Defect Management System from ADO to Jira or vice versa

  • Login to QAS - Client.

  • Do one of the following to access the Project Configuration dialog box:

    • Access Project Management from the left navigation to view the Project Management screen. Select the project and click Configuration.

    • Access Settings from the left navigation to view the Settings screen. On the Settings screen, select Project Configuration to configure the settings.

  • Expand Project Configuration and click Defect to open Defect Management System screen.

  • Select the Target Defect Management System from ADO to Jira or vice versa. If you want to turn off the Defect setting, select None.

  • Click Save to continue; otherwise, Discard.

 

📞📚 Here to Help: Support and Resources

If you have questions that are not addressed in the documentation, you may raise them in the Qualitia Community.


 

Footer