SlideShare a Scribd company logo
TMS using JIRA Customization
Yagnanarayana Dande
Project/Component/Story-Feature
• In JIRA Project will be top level entity
• Every Project will be having several Components
• Example - Project-1 is a Project and Comp-1,Comp-2 are
components
• Stories will be created per Project and will be associated with
one or more Components
Test Case
New IssueType called Test Case added into JIRA with CFs
Template
Test
Summar
y
Test Steps
Expected Results
Automatio
n Status Test Group
Componen
ts
Requirem
ent
Issue
Type
Affects
Version
Create
….
*Test Steps*
1….
2 ….
3….
*Expected Results*
1…..
2…. Manual Smoke Comp-1 Project1-1
Test
Case v1.3.0
Sample Test Case
Requirement Traceability
Test Case should be linked to Requirement
This allows Requirement Traceability
No. of Test Cases added in Latest Release
Test cycle creation
Assign Test Cases for Execution
Using JQL and Bulk Upload
Test cycle execution assignments
User Dashboard
Test Execution
Test progress in a Test cycle
Test progress at Component level
Test progress at Feature Level
Test execution report with teststeps
Test Cases for Different Platforms(OS)
Test Cases for Different Platforms(OS)
• Create Test Case for a Platform and upon review Clone them if
Test Steps are same for all the Platforms
• Create Different Test Cases for different Platforms if they are
platform dependent Test Cases
• Link a Test Case of different Environments
Creation of Automation Tasks using CSV upload
Test case assignment for automation
• Change Automation Status as “To be Automated” in Test Case
• Create a Sub-Task for Test Case
• Add to appropriate Test Cycle
• Assign it to a QA Engineer
Automation Activity
• QA Engineer looks at User Dashboard for Automation Activities
• QA Engineer will put it in Progress
• Complete it and mark it as Done
• Change Automation Status as “Automated” in Test Case
• Update “Automation Code” with Fully Qualified Class Name and
@Test Method Name
Automation assignments
Automation Progress
Create Regression Tests
• Get All Test Cases from Test Case Repository which are not
invalid
• Export them to CSV
• Change the Test Cycle and Assignee
• Import CSV
• Use Issue Key as Cloners in import menu
No. of Regressions across Versions
• Bug should be linked to Test Case with “is regressed by” link
type, if it a regression Bug.
• If not it should be linked to Test Case with “is caused by”
No. of regressions within Release
Test execution history for a testcase
JIRA Jenkins Integration
Pull Issue Details
Execute Test Cases
Update Test Results in JIRA
Jenkins Integration
• Get all issues of given Filter
• Get custom field from every Test Case
• Maintain a Map of JIRA ID to Custom Field
• Create a TestNG XML suite Programmatically and run it
• Get results programmatically from TestNG
• Update the issues by using Reverse mapping of Custom Field
to JIRA ID
Jenkins Integration
• https://github.com/rcarz/jira-client
• Create a Filter
• project = Project-1 AND issuetype = "Test Case" AND "Test Cycle" = "Version 4.0 - Cycle 1" AND "Automation Status" =
Automated AND status = "In Progress"
• Build jar from the code in last slide and run on Jenkins.
• This code needs following inputs
– JIRA URL
– JIRA Credentials
– Filter like “filter=10112”
– customField="customfield_10032"
– Note: You can get custom field name from JIRA Rest API and this name is different from what you see in JIRA UI
Add-ons Required
JQL Extensions for Querying linked issues
https://marketplace.atlassian.com/plugins/jql-extensions/cloud/pricing
Import Test Cases from CSV
https://confluence.atlassian.com/adminjiracloud/importing-data-
from-csv-776636762.html#ImportingdatafromCSV-format
Import Test Cases from CSV
Import Test Cases from CSV
Jenkins Integration
package com.company.qa.project.test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.testng.IReporter;
import org.testng.ISuite;
import org.testng.ISuiteResult;
Issue Links Used
Filters Used
Filter Name JQL
Bugs with Test Cases project = Project1 AND linkType = "is regressed by" AND issuetype = Bug AND affectedVersion = "Version 3.0"
Test Case Repository project = Project1 AND issuetype = "Test Case" AND (linkType not in (clones) OR linkType is EMPTY)
Test Cases Added in Latest Version project = Project1 AND issuetype = "Test Case" AND affectedVersion = "Version 4.0"
Test Cases Caused Regression project = Project1 AND linkType = regresses AND issuetype = "Test Case"
Test Cases With Open Bugs
project = Project1 AND issuetype = "Test Case" AND status = "TC - Failed" AND linkedIssueType = Bug AND
linkedIssueStatus = "To Do"
Test Execution of Latest Test Cycle project = Project1 AND issuetype = "Test Case" AND "Test Cycle" = "Version 4.0 - Cycle 1"
Requirement Traceability project = Project1 AND issuetype = Story AND linkType = "is requirement of"
All Bugs with Test Cases
project = Project1 AND (linkType = "is caused by" OR linkType = "is regressed by") AND issuetype = Bug AND
affectedVersion = "Version 3.0"
Automation Progress project = Project1 AND issuetype = Sub-task AND "Test Cycle" = "Version 4.0 - Cycle 1"
Regression Bugs with Test Cases project = Project1 AND linkType = "is regressed by" AND issuetype = Bug AND affectedVersion = "Version 3.0"
Automated Tests Ready to Run
project = Project1 AND issuetype = "Test Case" AND "Test Cycle" = "Version 4.0 - Cycle 1" AND "Automation
Status" = Automated AND status = "In Progress"
Test Execution History
project = Project1 AND issuetype = "Test Case" AND linkType in (clones) AND linksIssue = Project1-32 ORDER
BY "Test Cycle" DESC
Configuration for Environments
{
"config.version" : "2.0",
"config.project.from.csv" : "false",
"config.encoding" : "UTF-8",
"config.email.suffix" : "@",
"config.field.mappings" : {
"Custom field (Test Group)" : {
"existing.custom.field" : "10026"
},
"Issue Type" : {
Thank you
yagna.bitspilani@gmail.com

More Related Content

PDF
Testlink Test Management with Teamforge
PPSX
TESTLINK INTEGRATOR
PPS
Introduction To Testlink
PPSX
Test Complete
PPT
SoftTest Ireland: Model Based Testing - January 27th 2011
PPTX
Konstantinos Sidiropoulos - Testing microservices a real example
PDF
Introduction to testlink
PPTX
Testing microservices
Testlink Test Management with Teamforge
TESTLINK INTEGRATOR
Introduction To Testlink
Test Complete
SoftTest Ireland: Model Based Testing - January 27th 2011
Konstantinos Sidiropoulos - Testing microservices a real example
Introduction to testlink
Testing microservices

What's hot (20)

PPTX
Automated testing of ASP .Net Core applications
PPTX
Automation Testing with Test Complete
DOC
Implementing checkpoint in qtp
PPTX
qTest <> TestProject Integration Webinar
PPT
Testing with test_complete
PPT
Automation framework
PPT
Testing_with_TestComplete
PDF
Unit Testing vs Integration Testing
PPTX
Refactoring Legacy Web Forms for Test Automation
PDF
Keyword Driven Testing
ODP
Software testing tools
PPTX
Test automation proposal
PPT
Intro to junit
KEY
Unit Testing Your Application
PDF
Unit and integration Testing
PPT
Journey To Excellence
PDF
Code Kata: String Calculator in Flex
PPTX
Automation Testing with TestComplete
PPTX
Web service testing using QTP (UFT)
DOC
GardiasResume2015
Automated testing of ASP .Net Core applications
Automation Testing with Test Complete
Implementing checkpoint in qtp
qTest <> TestProject Integration Webinar
Testing with test_complete
Automation framework
Testing_with_TestComplete
Unit Testing vs Integration Testing
Refactoring Legacy Web Forms for Test Automation
Keyword Driven Testing
Software testing tools
Test automation proposal
Intro to junit
Unit Testing Your Application
Unit and integration Testing
Journey To Excellence
Code Kata: String Calculator in Flex
Automation Testing with TestComplete
Web service testing using QTP (UFT)
GardiasResume2015
Ad

Viewers also liked (20)

PPT
Using JIRA Software for Issue Tracking
PPTX
Jira as a Tool for Test Management
PDF
Introduction To Jira
PDF
Jira as a Project Management Tool
DOCX
QTDA_[Scrum vs Kanban]_XP
PDF
ScrumDay Vietnam 2013: Công nghệ thông tin trong kỷ nguyên toàn cầu hóa - Chu...
PDF
Anatomy of a JIRA Feature - Atlassian Summit 2010 - Lightning Talks
PPTX
Thesis - An application to manage software development process.
PDF
2. ap dung lean startup vao be rich slide
PDF
Kyna.vn - Growth hack from small changes
PDF
Kĩ năng ứng dụng CNTT trong tìm việc làm và khởi nghiệp - ĐH KHXH& NV - Micro...
PPTX
Jira jenkins integration
PPT
Ctxaug 02 amd atlassian build pipeline
PDF
Đường vào agile - 2013
PDF
ScrumDay Vietnam 2013: PMBOK là Waterfall hay Agile? - Phùng Thanh Cường
PDF
ScrumDay Vietnam 2013: Phương pháp luận phần mềm - Truyền thống và Agile - Ng...
PDF
ScrumDay Vietnam 2013: Ứng dụng Jira trong Phát triển Phần mềm Linh hoạt - Ng...
PPT
Jira and Confluence - How the company behind those products works - Anatoli K...
PDF
Business value pipeline with atlassian products
PPTX
JIRA & Stach, The Love Story
Using JIRA Software for Issue Tracking
Jira as a Tool for Test Management
Introduction To Jira
Jira as a Project Management Tool
QTDA_[Scrum vs Kanban]_XP
ScrumDay Vietnam 2013: Công nghệ thông tin trong kỷ nguyên toàn cầu hóa - Chu...
Anatomy of a JIRA Feature - Atlassian Summit 2010 - Lightning Talks
Thesis - An application to manage software development process.
2. ap dung lean startup vao be rich slide
Kyna.vn - Growth hack from small changes
Kĩ năng ứng dụng CNTT trong tìm việc làm và khởi nghiệp - ĐH KHXH& NV - Micro...
Jira jenkins integration
Ctxaug 02 amd atlassian build pipeline
Đường vào agile - 2013
ScrumDay Vietnam 2013: PMBOK là Waterfall hay Agile? - Phùng Thanh Cường
ScrumDay Vietnam 2013: Phương pháp luận phần mềm - Truyền thống và Agile - Ng...
ScrumDay Vietnam 2013: Ứng dụng Jira trong Phát triển Phần mềm Linh hoạt - Ng...
Jira and Confluence - How the company behind those products works - Anatoli K...
Business value pipeline with atlassian products
JIRA & Stach, The Love Story
Ad

Similar to Test Management System (TMS) using JIRA Customization (20)

PPTX
Jira.pptx talks about jira issues, workflows, steps
PPT
Test link
DOCX
2016_George Baker
DOC
ETL_DWH_ Resume
DOC
Renganath_testing
DOC
TEJ NARAYAN SHARMA
PPT
Test Metrics
PDF
Test Consultant II - Sreekanth Ajith
DOCX
Ganesh_Ichake_4_Years_experience
DOCX
sumeet_resume(Manual_Testing)latest
DOC
SenthilKumar_Resume
DOCX
DOC
Pradeep_Radhakrishnan_H&M
DOC
Thuy_Tran_Ngoc_-_SD0585
PPTX
Approval Tests at Agile 2012
PDF
XRAY for Jira
RTF
PDF
Combinatorial Black-Box Testing with Classification Trees
PDF
20141024 AgileDC 2014 Conf How much testing is enough for software that can c...
Jira.pptx talks about jira issues, workflows, steps
Test link
2016_George Baker
ETL_DWH_ Resume
Renganath_testing
TEJ NARAYAN SHARMA
Test Metrics
Test Consultant II - Sreekanth Ajith
Ganesh_Ichake_4_Years_experience
sumeet_resume(Manual_Testing)latest
SenthilKumar_Resume
Pradeep_Radhakrishnan_H&M
Thuy_Tran_Ngoc_-_SD0585
Approval Tests at Agile 2012
XRAY for Jira
Combinatorial Black-Box Testing with Classification Trees
20141024 AgileDC 2014 Conf How much testing is enough for software that can c...

Recently uploaded (20)

PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Introduction to Artificial Intelligence
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Transform Your Business with a Software ERP System
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Digital Strategies for Manufacturing Companies
PPTX
Essential Infomation Tech presentation.pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
L1 - Introduction to python Backend.pptx
PDF
medical staffing services at VALiNTRY
PDF
top salesforce developer skills in 2025.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
AI in Product Development-omnex systems
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Introduction to Artificial Intelligence
Navsoft: AI-Powered Business Solutions & Custom Software Development
Transform Your Business with a Software ERP System
Softaken Excel to vCard Converter Software.pdf
Digital Strategies for Manufacturing Companies
Essential Infomation Tech presentation.pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 41
How Creative Agencies Leverage Project Management Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
L1 - Introduction to python Backend.pptx
medical staffing services at VALiNTRY
top salesforce developer skills in 2025.pdf
PTS Company Brochure 2025 (1).pdf.......
AI in Product Development-omnex systems
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Design an Analysis of Algorithms I-SECS-1021-03
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)

Test Management System (TMS) using JIRA Customization

  • 1. TMS using JIRA Customization Yagnanarayana Dande
  • 2. Project/Component/Story-Feature • In JIRA Project will be top level entity • Every Project will be having several Components • Example - Project-1 is a Project and Comp-1,Comp-2 are components • Stories will be created per Project and will be associated with one or more Components
  • 3. Test Case New IssueType called Test Case added into JIRA with CFs
  • 4. Template Test Summar y Test Steps Expected Results Automatio n Status Test Group Componen ts Requirem ent Issue Type Affects Version Create …. *Test Steps* 1…. 2 …. 3…. *Expected Results* 1….. 2…. Manual Smoke Comp-1 Project1-1 Test Case v1.3.0
  • 6. Requirement Traceability Test Case should be linked to Requirement This allows Requirement Traceability
  • 7. No. of Test Cases added in Latest Release
  • 9. Assign Test Cases for Execution Using JQL and Bulk Upload
  • 10. Test cycle execution assignments
  • 13. Test progress in a Test cycle
  • 14. Test progress at Component level
  • 15. Test progress at Feature Level
  • 16. Test execution report with teststeps
  • 17. Test Cases for Different Platforms(OS)
  • 18. Test Cases for Different Platforms(OS) • Create Test Case for a Platform and upon review Clone them if Test Steps are same for all the Platforms • Create Different Test Cases for different Platforms if they are platform dependent Test Cases • Link a Test Case of different Environments
  • 19. Creation of Automation Tasks using CSV upload
  • 20. Test case assignment for automation • Change Automation Status as “To be Automated” in Test Case • Create a Sub-Task for Test Case • Add to appropriate Test Cycle • Assign it to a QA Engineer
  • 21. Automation Activity • QA Engineer looks at User Dashboard for Automation Activities • QA Engineer will put it in Progress • Complete it and mark it as Done • Change Automation Status as “Automated” in Test Case • Update “Automation Code” with Fully Qualified Class Name and @Test Method Name
  • 24. Create Regression Tests • Get All Test Cases from Test Case Repository which are not invalid • Export them to CSV • Change the Test Cycle and Assignee • Import CSV • Use Issue Key as Cloners in import menu
  • 25. No. of Regressions across Versions • Bug should be linked to Test Case with “is regressed by” link type, if it a regression Bug. • If not it should be linked to Test Case with “is caused by”
  • 26. No. of regressions within Release
  • 27. Test execution history for a testcase
  • 28. JIRA Jenkins Integration Pull Issue Details Execute Test Cases Update Test Results in JIRA
  • 29. Jenkins Integration • Get all issues of given Filter • Get custom field from every Test Case • Maintain a Map of JIRA ID to Custom Field • Create a TestNG XML suite Programmatically and run it • Get results programmatically from TestNG • Update the issues by using Reverse mapping of Custom Field to JIRA ID
  • 30. Jenkins Integration • https://github.com/rcarz/jira-client • Create a Filter • project = Project-1 AND issuetype = "Test Case" AND "Test Cycle" = "Version 4.0 - Cycle 1" AND "Automation Status" = Automated AND status = "In Progress" • Build jar from the code in last slide and run on Jenkins. • This code needs following inputs – JIRA URL – JIRA Credentials – Filter like “filter=10112” – customField="customfield_10032" – Note: You can get custom field name from JIRA Rest API and this name is different from what you see in JIRA UI
  • 31. Add-ons Required JQL Extensions for Querying linked issues https://marketplace.atlassian.com/plugins/jql-extensions/cloud/pricing
  • 32. Import Test Cases from CSV https://confluence.atlassian.com/adminjiracloud/importing-data- from-csv-776636762.html#ImportingdatafromCSV-format
  • 33. Import Test Cases from CSV
  • 34. Import Test Cases from CSV
  • 35. Jenkins Integration package com.company.qa.project.test; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.testng.IReporter; import org.testng.ISuite; import org.testng.ISuiteResult;
  • 37. Filters Used Filter Name JQL Bugs with Test Cases project = Project1 AND linkType = "is regressed by" AND issuetype = Bug AND affectedVersion = "Version 3.0" Test Case Repository project = Project1 AND issuetype = "Test Case" AND (linkType not in (clones) OR linkType is EMPTY) Test Cases Added in Latest Version project = Project1 AND issuetype = "Test Case" AND affectedVersion = "Version 4.0" Test Cases Caused Regression project = Project1 AND linkType = regresses AND issuetype = "Test Case" Test Cases With Open Bugs project = Project1 AND issuetype = "Test Case" AND status = "TC - Failed" AND linkedIssueType = Bug AND linkedIssueStatus = "To Do" Test Execution of Latest Test Cycle project = Project1 AND issuetype = "Test Case" AND "Test Cycle" = "Version 4.0 - Cycle 1" Requirement Traceability project = Project1 AND issuetype = Story AND linkType = "is requirement of" All Bugs with Test Cases project = Project1 AND (linkType = "is caused by" OR linkType = "is regressed by") AND issuetype = Bug AND affectedVersion = "Version 3.0" Automation Progress project = Project1 AND issuetype = Sub-task AND "Test Cycle" = "Version 4.0 - Cycle 1" Regression Bugs with Test Cases project = Project1 AND linkType = "is regressed by" AND issuetype = Bug AND affectedVersion = "Version 3.0" Automated Tests Ready to Run project = Project1 AND issuetype = "Test Case" AND "Test Cycle" = "Version 4.0 - Cycle 1" AND "Automation Status" = Automated AND status = "In Progress" Test Execution History project = Project1 AND issuetype = "Test Case" AND linkType in (clones) AND linksIssue = Project1-32 ORDER BY "Test Cycle" DESC
  • 38. Configuration for Environments { "config.version" : "2.0", "config.project.from.csv" : "false", "config.encoding" : "UTF-8", "config.email.suffix" : "@", "config.field.mappings" : { "Custom field (Test Group)" : { "existing.custom.field" : "10026" }, "Issue Type" : {