Jira is crucial for testers and developers to collaborate. When used for Defect Management, testers and developers log issue types, often of type “bug” in Jira. Whether you use Jira Cloud, Jira Data Center, or Jira Server, you can integrate Functionize with your Jira projects. To do this, set up the integration to map your custom Jira Issue Type for defects to the appropriate project. This is a many to many relationship where you can submit defects from Functionize to multiple Jira Projects or Issue Types. After you execute Functionize tests, dig into any potential failures. Then, directly submit defects from Functionize directly into Jira.
Setup the Jira Integration
Only Team Administrators may set up the Jira integration. Other users will not be able to access the Team tab.
- Open the Team page, and then click the Integrations tab.
- On the left, select Jira from the Defect Management section.
- In the main panel, provide credentials for the connection. Select Cloud or Server/Data Center.
- Enter the URL for your Jira instance, your Jira username, and your Jira API token (not your password). For Jira API token assistance, read here: Manage API tokens for your Atlassian account
- Click Test Sign In. The status next to the button will update to "Connection established" with a green check mark.
- Once you've established the connection, scroll down to the Project Mappings section.
- Select the Functionize and Jira projects you wish to link together. This allows you to submit defects (into the Jira project) from the test results (from the Functionize project).
- Defect Type: Select the Issue Type you wish to create into Jira. This can be a Bug, a Defect, or whatever Issue Type (including custom issue types) your teams use to represent issues that need to be resolved.
- Details: Select the Jira text area field that you would like to auto-populate using Functionize data. We suggest adding a Functionize Data custom field to Jira Defects to keep the data well-structured.
- Fields: Select the Fields to be displayed when creating Jira Defects from Functionize.
- Click Submit to save your connection details.
NOTE: Multiple projects may be added, however each must be mapped individually.
Create a Defect in Test Detail view
After executing a test, review any failures or areas of concern. Creating a defect in Jira linked to that test helps to provide developers with more information. This helps them understand what needs to be fixed, and helps you to keep track of bug resolution.
- To create a Defect, open a Test Case to the Test Details page.
- Find the test step that represents the failure or area of concern. Hover over the left side of that step.
- Click on the Bug icon with the plus sign.
- Enter the relevant details for the Defect, then click Create. By default, the Details mapped field will contain Jira’s tabular format that includes details about the current test execution for links back to Functionize from the Jira Defect about to be created.
- Click Continue on the "Defect Created Successfully" modal to be returned to the Test Detail screen. You will notice two Bug icons alerting you that one or more defects have been made from this test. The icon at the top of the screen will display the total number of bugs filed for the entire test. All test steps from which defects have been filed will also display a Bug icon with the number of defects filed for that step.
- Clicking the Bug icon in the test step will display the connected bugs created for that step. Clicking the bug icon in the header will display all bugs connected to the test.
Create a Defect in Slider view
- Click the View Results button in the Test Detail screen.
- Slider View will open and the Bug icon will display on any step with a filed defect.
- Click the Gear icon and select Create Defect. The defect creation modal will open. Fill out the relevant details, click Create, click Continue on the "Defect Created Successfully" modal.
- This will bring you back to the Test Detail screen where you will see the updated number next to the Bug icon in the header and the additional Bug icon on the specific test step.
- You can also see which tests have defects filed directly from the Project page. This can be particularly useful to verify resolved defects on a regular basis to ensure that only tests that are failing are mapped to unresolved defects.
- As in the Test Detail view, clicking on the Bug icon will display the defects filed.
- You can also filter by the status of your Jira tickets by using the "Defects" menu with the Jira icon.
View the Defect in Jira
- Click the link for the Jira issue in the Defect display, either from the test step or the test details header.
- Jira will open and the ticket can be edited as usual.