Table of contents
1.
Introduction
2.
Create Katalon BDD fields in Jira
3.
Enable the BDD custom field with the Katalon add-on
4.
Write BDD scenarios in Jira tickets
5.
View test results in Jira tickets
6.
Submit an issue from Katalon Studio to Jira
7.
Frequently Asked Questions
7.1.
What is Katalon Studio?
7.2.
Why is Katalon Studio used?
7.3.
What is the main advantage of Katalon Studio over others?
7.4.
Can we use Selenium in Katalon?
7.5.
Can we write code in Java?
8.
Conclusion
Last Updated: Mar 27, 2024

Test Results with Jira in Katalon

Author Shubham Das
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Prerequisites are you need to install the plugin from the Atlassian marketplace website and enable Jira integration with Katalon TestOps.

Test results with Jira in Katalon

Now we are all set to understand today's topic Test results with Jira in Katalon.

Create Katalon BDD fields in Jira

We need to have Jira admin access. To create BDD fields in Jira, we need to follow these steps:

  1. Select Issues from Jira settings. Select Custom fields and then select Create custom field in the fields section.
     
  2. We need to write our BDD scenarios depending on our Jira product.
    Select Katalon Gherkin for Jira Data Center (Jira Server)
    Select Paragraph for Jira Cloud.
     
  3. Click Next.
     
  4. Provide a name and a description which is optional in the new window. Then click Create.
     
  5. Choose which screens to display. Select Update to finish adding your new custom field.
issues


Hurray! We have successfully created a Katalon BDD custom field in Jira.

Enable the BDD custom field with the Katalon add-on

Follow these steps to enable the BDD custom field with the Katalon add-on:

  1. Open the Jira project.
     
  2. Go to Project settings in the left panel.
     
  3. Scroll down to the bottom.
     
  4. Select Katalon BDD.
     
  5. Select the field created and then click Add.
     
  6. Select issue types to show the field with the BDD editor.
     
  7. Click Save.
my bdd field

Write BDD scenarios in Jira tickets

Follow these steps to write BDD scenarios in Jira tickets with the newly added BDD custom fields:

  1. Open a Jira issue.
     
  2. Click on More (...).
     
  3. Select Katalon BDD Fields.
     
  4. Click Edit and write Gherkin content.
     
  5. Click Save.
katalon bdd fields

View test results in Jira tickets

We need to enable Jira Integration in Katalon Studio.

With the integration of Jira, after a test suite execution, Katalon Studio uploads the latest test results. It attaches a zip file which contains the test reports to the linked Jira ticket.

To view the test results, open the linked Jira ticket, and click Open Test Results in the Details group. Click on the Open test results in the Jira issue.

 

We can find the test execution status with the help of the JQL query. The syntax can be defined as: "Katalon Status"=status
Katalon Studio supports five test statuses. Do not forget to enable file attachments.

test fields

Submit an issue from Katalon Studio to Jira

We need to enable Jira integration in Katalon Studio. We can submit an issue to Jira directly from the test reports page of Katalon Studio. We can follow these instructions:

  1. Click on the Reports in the Test Explorer panel.
     
  2. Double-click to open the test reports we want to review for issues.
     
  3. Click the Bug icon in the opened test report.
     
  4. A Linked Jira Issues dialog opens.
     
  5. Click Add to choose our submit options.
create as new

6. Now, we have three options to choose. We can select Create as New to create a new issue on Jira. We can select Create as Sub Issue to create a sub-task for an existing issue in Jira. We can select Link to existing Issue to add the details of the execution of the test to an existing issue in Jira. But we need to give the ID of the issue which is existing in Jira.

Alright! Now we hope you understand the test results with Jira in Katalon.

Frequently Asked Questions

What is Katalon Studio?

Katalon Studio is an automation tool developed by Katalon, Inc. It works for the web, API, Android, Linux, Windows, and macOS interfaces.

Why is Katalon Studio used?

Katalon Studio creates ad reuse automated test scripts for UI without coding.

What is the main advantage of Katalon Studio over others?

Katalon Studio is easy to use and has a wider set of instructions compared to Selenium.

Can we use Selenium in Katalon?

Katalon Studio uses the Selenium engine for automated testing. Katalon uses the Selenium WebDriver framework and hides the complications of dealing with WebDriver from users.

Can we write code in Java?

Yes, we can use Java in Katalon. When writing scripts and custom keywords, we can write them in either Groovy or Java syntax. Groovy is simply a language that extends the Java language.

Conclusion

In this article, we discussed the test results with Jira in Katalon. We hope this blog on test results with Jira in Katalon was helpful. You can also refer to other similar articles.

You may refer to our Guided Path on Code Studios for enhancing your skill set on DSACompetitive ProgrammingSystem Design, etc. Check out essential interview questions, practice our available mock tests, look at the interview bundle for interview preparations, and so much more!

Happy Learning Ninja!

Live masterclass