- Install Jira Integration plugin for Katalon Studio from Katalon Store.
- Install Katalon BDD app for Jira from Atlassian Marketplace.
Configure Jira integration
With Katalon Studio
You need to enable JIRA Integration in order to submit issues to JIRA. This setting is available at Project > Settings > Integration > JIRA.
- Select Enable integration option. The settings will be available for configuration.
- Server URL must be in the form https://<site_name>.atlassian.net.
- Use a Atlassian Cloud's API token for Password. See instructions here.
- Server URL must be in the form http(s)://domain without any trailing parts e.g. /secure.
- Use username instead of email for Username.
Specify information regarding your JIRA Server and login credential then click Connect button.
After successfully authenticating with JIRA, all relevant JIRA Projects and Issue Types will be retrieved and displayed under Submit Options. You can specify the default project and issue type for submission here.
The fields for setting include:
|Default JIRA Project||The default JIRA project to submit tickets.|
|Default JIRA Issue Type||The default JIRA Issue type to create when submitting tickets.|
|Use Test Case name as Summary for JIRA ticket||The Katalon Test Case Name will be used as a summary for submitted tickets.|
|Attach Screenshot to JIRA ticket||Any taken screenshot during execution will be included in submitted tickets.|
|Attach Log to JIRA ticket||The execution log will be included in submitted tickets.|
- Click OK button to complete the JIRA Integration setup.
With Katalon TestOps
You need to enable Jira integration with Katalon TestOps to have an insightful look at your testing data and better test management.
Refer to this document to learn how to configure the integration.
Integrate Test Case
Prepare Jira JQL Script
Open Jira Integration > click Import Test Case from JIRA JQL
Enter the Jira JQL. Click OK.
The Test Case Folder Selection window will appear. Choose the destination to store the issues. Click OK.
The Jira Issues window will appear. Click OK.
If your test cases have already been linked to a JIRA ticket, Katalon Studio will not sync them again.
Import BDD Feature Files
Jira Integration also allows you to import Jira BDD Feature Files to Katalon Studio.
When importing test cases from Jira, please check Link to BDD Feature File > OK > Choose the destination to store the issues.
A new Feature File (with the same name as the test case) will be created with the content from Jira BDD. Moreover, a RunFeature step will be created in the linked test case to Jira.
View Test Results on Jira
After you have successfully integrated test cases, test execution results will be automatically created in the associated Jira ticket. Review the status and attachments of Katalon Studio test cases right inside Jira.
Submit an Issue to Jira
Bug submission options will be available in Test Reports after JIRA Integration setup is successfully configured.
Open a test execution in Reports that you want to review for issues. In Test Cases Table, a dedicated column for JIRA Integration will be enabled.
Click on the bug icon to display the list of related JIRA issues associated with the selected Test Case. The issues are shown in the following screen.
Select submit option under the Add command. The bug submission options include:
|Create as New||A new Issue will be submitted to JIRA.|
|Create as Sub Issue||
A sub-task for an existing JIRA issue will be created. You will be asked to provide the ID of the existing JIRA issue to create a sub-task within.
|Link to existing Issue||
This option will append execution details to an existing JIRA issue. You will be asked to provide the ID of the existing JIRA issue for this.
In case of creating a new JIRA issue (or Sub-task), a JIRA native submission form will be displayed. The following is an example form for creating a new JIRA issue:
Based on your preferences in JIRA Integration settings, the Summary, Screenshots, Logs, Reporter, and Description of test cases will be populated and attached accordingly. Once done, click on the Create button at bottom of the form.
A created JIRA issue will have its ID recorded in the Linked JIRA issues list so that you can quickly navigate there from Katalon Studio. You can also edit linked JIRA issue or remove the linking of the created JIRA issue.
Once clicked on ID, you will be taken to JIRA issues page accordingly as shown below
Katalon Studio test execution status can be queried via JQL. The syntax is as following:
Where Status value can be one of the following:
|PASSED||The automation tests that executed successfully.|
|FAILED||The automation tests that failed to execute at certain steps.|
|INCOMPLETE||The automation tests that did not finish running all the steps due to other factors such as wrong syntax, power shortage, disconnected network, etc.|
|ERROR||The automation tests that have some errors occurred.|
For example, to search for all issues that have failed in Katalon Studio test execution_:_
Use JQL Syntax to query all issues with a particular execution status
Katalon Studio's test execution status can be queried via JQL. The syntax is as follows:
For example, to search for the issues with PASSED status: