JIRA for Test Management

Danielle Johnston February 28, 2012

My team is looking to leverage JIRA for test case management (http://confluence.atlassian.com/display/CONFEVAL/Using+JIRA+for+Test+Case+Management). We've customized JIRA as documented now the question comes down to - how do we integrate our automated testing with JIRA?

We currently use TestLink to manage testing, but want to create a single platform through which to create and monitor test runs, execution, and defects created from said actions.

Also, we use Selenium to automate a significant number of our browser-based tests. Without installing/using another tool, can we form interactions with Selenium in JIRA itself? We know that Selenium can be integrated into Bamboo, but our larger organization is slow in effecting Bamboo adoption with our architects.

In the meantime, our team needs to continue on its aggressive combination of manual/automated testing. Any thoughts/directions other than adoption of Zephyr or other standalone tools?

15 answers

1 accepted

3 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 29, 2012

Or use a commercial product like http://www.go2group.com/products/go2group-synapsert/

3 votes
Andrzej Pasterczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 29, 2012

About Selenium it depends mostly on how you execute those tests. If you use selenium libraries in any programming language (C#, Java, Python) you can do lots of stuff - decorate your tests with test id attribute, have XML config or whatever and then report back to Jira using REST api.

2 votes
Nirav Shah
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2012

We use Zephyr for JIRA, so far working out good for us.

Ahmed Tarek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 25, 2021

Can you give me more details about Zephyr 

1 vote
Yaniv Iny
Contributor
January 23, 2013

Hi,

We just added a new plugin for JIRA two way synchronization. For more details look here:

ww.practitest.com/jira-test-management/

Here's the video - http://www.youtube.com/watch?feature=player_embedded&v=HARCoMQ-0yY

1 vote
Arta Doci January 7, 2013

Thank you Sanjay!

Arta

1 vote
TyrionL January 7, 2013

Also, here is the original link you were looking for:

https://confluence.atlassian.com/display/JIRAKB/Using+JIRA+for+Test+Case+Management

~ Sanjay

0 votes
Heenaben Sardarbhai Chaudhary August 29, 2024

Hi @Danielle Johnst ,

If you need a solution to automate test case creation for your Jira stories, the Test Case Assistant for Jira is a great option. This plugin streamlines the process by automatically generating and linking test cases to your user stories based on your specified templates.

With just a click on "Test Case Assistant" within your Jira story, you can effortlessly create and link test cases. The app also allows customization of test case formats using various prompts and leverages advanced OpenAI models to ensure the generated test cases are relevant and high-quality. For extended functionality and higher usage limits, you can easily integrate your own OpenAI API token within the app settings.

You can explore more about the app here:
https://marketplace.atlassian.com/apps/1235007/test-case-assistant-for-jira?hosting=cloud&tab=overview

Regards,
Heena Chaudhary.

0 votes
ritvick_udasi October 5, 2023

Integrating automated testing with JIRA can streamline your test case management process and improve overall efficiency. Here are the steps you can follow to integrate your automated testing with JIRA:

1. Choose an Automation Framework: Before integrating with JIRA, ensure you have an automated testing framework. Popular choices include Selenium, QMetry Automation Studio, Appium, JUnit, TestNG, and others, depending on your application type (web, mobile, desktop, etc.).

2. Set Up Test Automation Scripts: Create and maintain your automated test scripts using the chosen framework. These scripts should cover the test cases you want to manage in JIRA.

3. Version Control System (Optional): It's a good practice to use a version control system like Git to manage your automation code. This will help keep your test scripts organized and enable collaboration among team members.

4. Test Execution: Execute your automated tests as part of your continuous integration (CI) pipeline or on-demand as needed.

5. Test Reporting: Configure your test automation framework to generate test execution reports. These reports should include information about the test run, such as pass/fail status, test case IDs, and any relevant logs/screenshots.

6. JIRA Integration:
- Install JIRA Plugins: JIRA offers various plugins and integrations to connect with test management tools and test automation frameworks. Some popular ones include Xray, QTM4J, Zephyr, and TestRail. Depending on your choice, install and configure the relevant plugin.

- Map Test Cases: Map your automated test scripts to corresponding test cases in JIRA. You can do this using the plugin's interface, where you associate a test script with a specific test case in JIRA.

- Automated Test Execution Status: Configure the integration to update the status of test cases in JIRA automatically based on the results of your automated tests. For example, if a test script passes, the associated test case in JIRA should be marked as "Passed," if it fails, it should be marked as "Failed."

- Link Issues: You can also link JIRA issues (such as user stories or bugs) to the corresponding test cases. This helps in traceability, as you can see which tests cover specific requirements or issues.

- Generate Test Execution Reports: Some integrations allow you to generate test execution reports directly within JIRA. This can be useful for tracking overall test progress and identifying areas that need attention.

7. Test Maintenance: Keep your test scripts and JIRA test cases up-to-date as your application evolves. Whenever there are changes in requirements or features, update the relevant test cases and scripts accordingly.

8. Automation Best Practices: Follow automation best practices, such as using parameterization, maintaining a clear folder structure for test scripts, and regularly reviewing and refactoring your automation code.

9. Continuous Improvement: Periodically review your automated testing process and JIRA integration to identify areas for improvement. Make adjustments as needed to optimize your test case management workflow.

By following these steps, you can effectively integrate your automated testing with JIRA and ensure that your test cases are well-managed and traceable within your project management system.

0 votes
Quentin X
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2013

Hi Danielle,

I was wondering if you could give us some feedback about your test management installation with JIRA?


* Could you manage to use a custom solution?
if so do you have a way to call Selenium scripts and get the results back into JIRA?
And as Allmas asked, how do you handle the test runs? Do you clone/copy the test cases?

* Or did you end up getting Zephyr for JIRA5 as you planned?
But as far I can tell, this require more customization as only Zephyr Community and Enterprise Editions have easier to use tools for automation.
http://developer.yourzephyr.com/zapi/index.php

Thanks!

Quentin

0 votes
Arta Doci January 7, 2013

Chris:

Can we please have a quick chat: 3038885812

Arta

0 votes
Arta Doci January 7, 2013

I would like to configure JIRA for test case management; however the following links are broken:

· http://confluence.atlassian.com/display/CONFEVAL/Customise+JIRA+For+Test+Case+Management

· http://confluence.atlassian.com/display/CONFEVAL/JIRA+Sample+File+-+Test+Case+Management

I would appreciate if someone can send me the scenario / workflow + files to install for JIRA Test Case Management via email artadoci@gmail.com.

Thank you!

Arta

Chris Miller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2013

Hi Arta,

Zephyr for JIRA is a testcase management option inside JIRA 5.2 for On-Premise Installations. This is one option for you. Check it out here: https://marketplace.atlassian.com/plugins/com.thed.zephyr.je

Kind Regards,
Chris

0 votes
Arta Doci January 7, 2013

I would like to configure JIRA for test case management, however the follwoing link is broken:

http://confluence.atlassian.com/display/CONFEVAL/Using+JIRA+for+Test+Case+Management

I would appreciate if someone can sent me the scanario / workflow for JIRA Test Case Management.

Thank you!

Arta

0 votes
Ravi Motwani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2012

Hello everyone,

We are using JIRA OnDemand (JIRA Studio) for Project & Issue management. I want to know following things:

  1. Whether Test Management is possible within JIRA or not (with entities like Test Plan, Build, Test Cases etc)?
  2. If yes, then how can we implement it? Is there requirement of any external plug-ins?
  3. If No, then can we integrate Testlink with JIRA and how can we implement that?
  4. Please do suggest if any other open source test management tool available which can be integrated with JIRA studio.

Our purpose is to achieve test management with JIRA Studio.

Andrzej Pasterczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2012

I think it would be better if you start a new question - you'll get more answers this way :)

0 votes
Deleted user April 9, 2012

Hi Danielle,

Are you using Jira for complete test case management, are your manual tests written in Jira? How are you handling Selenium scripts within Jira?

Danielle Johnston April 9, 2012

Allmas,

We have successfully transitioned all of our manual browser- and emulator-based testing to JIRA (out of TestLink). We don't yet have a solution for our Selenium scripts. We are looking to evaluate Zephyr when it becomes available for OnDemand. In the meantime, we are manually executing and reporting our Selenium scripts' success/failure (not ideal).

I'd like to spend more time building up a custom solution (as proposed by Swiniak above) through leveraging JIRA's REST services, but have not been able to do so while rolling out JIRA to replace our product, project, and dev workflow suites.

Andrzej Pasterczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2012

Danielle,

Out of curiosity - how do you manage your test cases execution now in Jira?

I'm wondering if you could make a simple test reporting by using jira command line interface ( https://studio.plugins.atlassian.com/wiki/display/JCLI/JIRA+Command+Line+Interface ). If your test cases are jira issues you could probably update them with some comments/labels/custom field using CLI directly from your automated test - should not require that much effort as writing your own REST client :)

Danielle Johnston April 9, 2012

Swiniak, is CL available for OnDemand? I guess I had assumed it was only available for local installations. I'll look into it. Thank you!

Deleted user April 9, 2012

Danielle,

Its good to know that you have adopted Jira completely. I have a couple of questions and insight from you would really help me use Jira better.

1. Do you use Greenhopper?

2. Did you customize Jira manually http://confluence.atlassian.com/display/CONFEVAL/Customise+JIRA+For+Test+Case+Management or or did you import the sample test files http://confluence.atlassian.com/display/CONFEVAL/JIRA+Sample+File+-+Test+Case+Management?

3. How do you handle the test runs? Do you clone/copy the test cases or any other way?

Andrzej Pasterczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2012
C:\jira-cli-2.5.0>jira --action getProject --project "KEY" --server "https://ACCOUNT.atlassian.net" --user "user" --password "pass"

I've checked only the basic thing but I assume it works perfectly fine :)

Lynne Johnson June 5, 2014

I just customised JIRA OnDemand manually but the instructions are for an earlier version of JIRA. JIRA has changed a lot since then but I have managed to complete the configuration. Using the configuration is not as easy to understand and I still don't have my head around how to implement test cycles. Anyone have any more to add for help?

0 votes
TyrionL March 1, 2012

To clarify Zephyr's product offerings, there is Zephyr Enterprise which is the stand alone platform and has a tight, real-time integration with JIRA for defect management but there is also the new "Zephyr for JIRA" which is a test management add-on to JIRA5 and allows you to manage your testing inside JIRA. Here are the plugin links for both ...

Zephyr Enterprise JIRA plugin: https://plugins.atlassian.com/plugins/com.thed.jira.ext.rpc

Zephyr for JIRA5 add-on: https://plugins.atlassian.com/plugins/com.thed.zephyr.je

Jakub Pierzchała
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2012

Just a note, Zephyr for Jira is not available in Ondemand

TyrionL March 2, 2012

... well, not yet ;-)

Mark Row
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2012

Is there a timeline for when Atlassian will make the Zephyr for Jira plugin available in Ondemand?

Suggest an answer

Log in or Sign up to answer