Functionize and Jira Defect Integration Overview
Jira is a vital tool for testers and developers to collaborate. In Defect Management, users often log issue types, typically labeled as a 'bug' in Jira. Whether you're using Jira Cloud, Jira Data Center, or Jira Server, you can integrate Functionize with your Jira projects.
Configure the integration to map your Jira Issue Type for defects to the corresponding Functionize project. This establishes a many-to-many relationship, allowing you to submit defects from Functionize to multiple Jira Projects or Issue Types.
After executing Functionize tests, investigate potential failures. Subsequently, submit defects directly from Functionize into Jira with links back to the test execution in Functionize for easy steps to recreate the defect.
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 Integration tab
- On the left panel, select Jira from the Defect Management section
- In the main panel, select Cloud or Server/Data Center
Enter the URL for your Jira instance, the Jira Username, and the Jira API Token - not your password - these can be found in your Jira account by a Jira Admin by accessing Apps > Manage Apps > API Keys
Note: 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 to link together, this allows a user to submit Defects into the Jira project from the test results from a Functionize project
- Defect Type: Select the Jira Issue Type to be created in Jira when submitting from Functionize, this can be a Bug, a Defect, or whatever Issue Type, including custom issue types that your teams use to represent issues found during testing that need to be resolved
Details: Select the Jira text area field that you would like to auto-populate using Functionize data that will include a link back to the Functionize test execution results
Note: We suggest adding a Functionize Data custom field to Jira Defects to keep the data well-structured.
- Fields: Select the Jira Fields to be displayed when creating Jira Defects from Functionize
Click Save Mapping to save your Jira to Functionize project mapping 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 Functionize test helps to provide developers with more information, including steps to recreate the issue. 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 action that represents the failure or area of concern, click the Action to expand and show the Action Settings
- Click on the Create Defect button
Select radio button to Create New Defect or Link Existing Defect and click Continue
Enter the relevant details for the Defect, then click Create Defect, by default, the Description 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
The Test Detail page will display the Defect bug icon in the header, click the button to see a list of Defects linked to this test
The Defect bug icon will also display at the right end of the action banner, click the icon to see a list of Defects linked to this action
Click the Issue name to open Jira and view the Defect details, a New Defect button is also available to aid in filing multiple issues for a single action
Note: The number on the bug icon corresponds to the number of Defects filed for the Test or Action.
Create a Defect in Slider view
Open the Slider View by clicking the View Results button at the top of the Test Detail page or click the View button to the right of the failed action
Slider View will open
Open the Actions menu on the failed Action and select Create Defect
Select Create New Defect or Link Existing Defect and click Continue
- Enter the issue details, ensure all required fields are entered and click Create Defect
You can also see which tests have defects filed directly from the Test Listing 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 page, 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 filter drop-down with the Jira icon
View the Defect in Jira
Click the link for the Jira issue in the Defects display, either from the test action or the test details header or test listing page
Jira will open and the ticket can be edited as usual