QA Fest 2015. Владимир Примаков. Автоматизация нестандартной отчетности из JIRA в GoogleSheets (quality report и др.)

Q
Jira Reporting in
GoogleSheets
www.qaexperts.pro
22
12+ years general working experience in IT/QA (40+ projects)
----------
•QA Consultant / QA Manager at Ciklum Interactive
•Load Testing Manager
•Automated Testing Manager
•Co-owner at www.qaexperts.pro
----------
Skype: vladimir.primakov
Linkedin: ua.linkedin.com/in/vladimirprimakov/
Email: v.v.primakov@gmail.com
Some Words About Me
Volodymyr Prymakov (Vladimir Primakov)
www.qaexperts.pro
33
• Introduction – 2 min
• Main part – 15 min
• Questions (3 min)
Presentation Plan
www.qaexperts.pro
44 www.qaexperts.pro
55
Jira’s Reporting weak areas:
1. No all types of graphs and visualizations are available. e.g.
stacked graphs
2. Lack of time-trend-based graphs
3. Have to edit queries (no way to use variables in queries)
4. No possibility to add text and comments to graphs.
Note: Available for Confluence
5. No template graphs and reports
Note: Available in Confluence
6. No convenient way to print
Note: Available in Confluence
7. Costly visualization plugins
www.qaexperts.pro
66
Why Google Sheets?
•Free
•Web-based
•Inherit the power of Excel
•Great sharing possibilities
•Macros support (javascript)
•Stability
•Flexibility
www.qaexperts.pro
77
Google Reporting in Google Sheets. How?
Technology
www.qaexperts.pro
JIRA REST API
(HTTPS/JSON)
88
Google Reporting in Google Sheets. How?
Technology
www.qaexperts.pro
99
• Activate Jira API calls in jira:
Allow Remote API Calls' should be turned ON under Jira’s Administration
> General Configuration.panel
• Add a custom menu and function to google sheet for configuring
Jira’s parameters:
Google Reporting in Google Sheets. How?
www.qaexperts.pro
1010
Google Reporting in Google Sheets. How?
Functions
Base functions:
1) jiraConfigure()
- Setting up access to a jira instance
2) UrlFetchApp.fetch(url,headers)
-low level function for sending requests via http(s) protocol
3) getJiraDataForAPI(path)
- Sending any GET requests to a specific instance of jira
www.qaexperts.pro
1111
Google Reporting in Google Sheets. How?
Functions
Supplementary functions:
4) getJiraSearchResults(searchQueue, fieldsToShow)
- Getting issue Jira Search results in JSON
5) parseJsonObjIntoArray(obj, loopPath, searchFor)
- Parse JSON search results into 1 dimensional array
according to the parameters specified
www.qaexperts.pro
1212
Google Reporting in Google Sheets. How?
Functions
Main functions:
6) getJiraTotalForSearchResults(searchQueue)
- Getting a number of issues
found for the specified Jira search query
e.g.: =getJiraTotalForSearchResults(“project in (‘ProjectName')
and issuetype in (bug)”)
www.qaexperts.pro
1313
Google Reporting in Google Sheets. How?
Functions
Main functions:
7) getJiraIssueContent(issueID)
- Getting issue content in JSON
to understand its JSON structure
e.g.: =getJiraIssueContent(“KOK-234”)
www.qaexperts.pro
1414
Google Reporting in Google Sheets. How?
Functions
Main functions:
7) getJiraIssueFieldsValues(searchQueue, searchFor,
showOnlySuchFields)
- Getting 1 dimentional array of issues fields values
returned for the specified Jira search query
e.g.: =getJiraIssueFieldsValues( "project in (KOK) and issuetype in (bug)";
"fields.status.name";"status")
www.qaexperts.pro
1515
Google Reporting in Google Sheets. How?
Power of Cells’ Referencing
and Concatenation
www.qaexperts.pro
1616
Google Reporting in Google Sheets. How?
Power of “was in on” query type in jira
project in (RON) and status was in ("Ready to Test") on '2015-04-11'
www.qaexperts.pro
1717
Google Reporting in Google Sheets. How?
Error Handling
www.qaexperts.pro
1818
QA Reporting in Googlesheets
1. Quality Report
2. Time trends
3. Pivots
4. Audit reports
DEMO
www.qaexperts.pro
1919
EXAMPLE 1:
www.qaexperts.pro
2020
EXAMPLE 2:
www.qaexperts.pro
2121
EXAMPLE 3:
www.qaexperts.pro
2222
EXAMPLE 4:
www.qaexperts.pro
2323
Google Sheets Limitations
1. Custom functions execution time in sheet - not more than 30 sec
2. Custom function execution time in script - 5 min
3. UrlFetchApp.fetch(url,options) execution time - not more than 60
sec.
www.qaexperts.pro
2424
Thank you! ;)
QUESTIONS?
1 of 24

More Related Content

What's hot(20)

XRAY for JiraXRAY for Jira
XRAY for Jira
Mike Brosnan3.4K views
Performance TestingPerformance Testing
Performance Testing
QA Club Kiev1.9K views
JDeveloper Auditing Framework (UKOUG Tech2013)JDeveloper Auditing Framework (UKOUG Tech2013)
JDeveloper Auditing Framework (UKOUG Tech2013)
Wilfred van der Deijl5K views
Простой QA аудитПростой QA аудит
Простой QA аудит
SQALab2.4K views
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
Nikolay Vasilev61.7K views
Quality Management IntroductionQuality Management Introduction
Quality Management Introduction
Duy Tan Geek815 views
Introduction to SoapUI day 4-5Introduction to SoapUI day 4-5
Introduction to SoapUI day 4-5
Qualitest965 views
QA Process OverviewQA Process Overview
QA Process Overview
Deepak Rathod289 views

Similar to QA Fest 2015. Владимир Примаков. Автоматизация нестандартной отчетности из JIRA в GoogleSheets (quality report и др.)

React inter3React inter3
React inter3Oswald Campesato
319 views54 slides
Jira overviewJira overview
Jira overviewthanhlamct
2K views40 slides
Jira-sft-v1.pptxJira-sft-v1.pptx
Jira-sft-v1.pptxRppsKumar1
26 views17 slides

Similar to QA Fest 2015. Владимир Примаков. Автоматизация нестандартной отчетности из JIRA в GoogleSheets (quality report и др.)(20)

Jira reporting in google sheetsJira reporting in google sheets
Jira reporting in google sheets
QA Experts.Pro1.3K views
React inter3React inter3
React inter3
Oswald Campesato319 views
Jira overviewJira overview
Jira overview
thanhlamct2K views
Tango with djangoTango with django
Tango with django
Rajan Kumar Upadhyay1K views
Jira-sft-v1.pptxJira-sft-v1.pptx
Jira-sft-v1.pptx
RppsKumar126 views
Advanced Relevancy RankingAdvanced Relevancy Ranking
Advanced Relevancy Ranking
Search Technologies859 views
Advanced query parsing techniquesAdvanced query parsing techniques
Advanced query parsing techniques
lucenerevolution2.8K views
Introduction To Jira Slide ShareIntroduction To Jira Slide Share
Introduction To Jira Slide Share
Renjith V9.4K views
GraphQL-ify your APIsGraphQL-ify your APIs
GraphQL-ify your APIs
Soham Dasgupta45 views
Jira fundamentalsJira fundamentals
Jira fundamentals
Vitaliy Patsay30.3K views
Advanced JIRA and ConfluenceAdvanced JIRA and Confluence
Advanced JIRA and Confluence
Ashish Jain, CSM, Prince2 Practitioner1.2K views
Sprint 47Sprint 47
Sprint 47
ManageIQ277 views
Lesson 12Lesson 12
Lesson 12
Gene Babon356 views

More from QAFest(20)

Recently uploaded(20)

NS3 Unit 2 Life processes of animals.pptxNS3 Unit 2 Life processes of animals.pptx
NS3 Unit 2 Life processes of animals.pptx
manuelaromero201389 views
ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}
ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}
DR .PALLAVI PATHANIA156 views
Plastic waste.pdfPlastic waste.pdf
Plastic waste.pdf
alqaseedae81 views
Psychology KS4Psychology KS4
Psychology KS4
WestHatch52 views
Education and Diversity.pptxEducation and Diversity.pptx
Education and Diversity.pptx
DrHafizKosar56 views
Industry4wrd.pptxIndustry4wrd.pptx
Industry4wrd.pptx
BC Chew153 views
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptxGopal Chakraborty Memorial Quiz 2.0 Prelims.pptx
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptx
Debapriya Chakraborty221 views
ICS3211_lecture 08_2023.pdfICS3211_lecture 08_2023.pdf
ICS3211_lecture 08_2023.pdf
Vanessa Camilleri68 views
STYP infopack.pdfSTYP infopack.pdf
STYP infopack.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego143 views
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch52 views
2022 CAPE Merit List 2023 2022 CAPE Merit List 2023
2022 CAPE Merit List 2023
Caribbean Examinations Council3K views
Class 10 English  lesson plansClass 10 English  lesson plans
Class 10 English lesson plans
Tariq KHAN172 views
Sociology KS5Sociology KS5
Sociology KS5
WestHatch50 views
ACTIVITY BOOK key water sports.pptxACTIVITY BOOK key water sports.pptx
ACTIVITY BOOK key water sports.pptx
Mar Caston Palacio132 views

QA Fest 2015. Владимир Примаков. Автоматизация нестандартной отчетности из JIRA в GoogleSheets (quality report и др.)

  • 2. 22 12+ years general working experience in IT/QA (40+ projects) ---------- •QA Consultant / QA Manager at Ciklum Interactive •Load Testing Manager •Automated Testing Manager •Co-owner at www.qaexperts.pro ---------- Skype: vladimir.primakov Linkedin: ua.linkedin.com/in/vladimirprimakov/ Email: v.v.primakov@gmail.com Some Words About Me Volodymyr Prymakov (Vladimir Primakov) www.qaexperts.pro
  • 3. 33 • Introduction – 2 min • Main part – 15 min • Questions (3 min) Presentation Plan www.qaexperts.pro
  • 5. 55 Jira’s Reporting weak areas: 1. No all types of graphs and visualizations are available. e.g. stacked graphs 2. Lack of time-trend-based graphs 3. Have to edit queries (no way to use variables in queries) 4. No possibility to add text and comments to graphs. Note: Available for Confluence 5. No template graphs and reports Note: Available in Confluence 6. No convenient way to print Note: Available in Confluence 7. Costly visualization plugins www.qaexperts.pro
  • 6. 66 Why Google Sheets? •Free •Web-based •Inherit the power of Excel •Great sharing possibilities •Macros support (javascript) •Stability •Flexibility www.qaexperts.pro
  • 7. 77 Google Reporting in Google Sheets. How? Technology www.qaexperts.pro JIRA REST API (HTTPS/JSON)
  • 8. 88 Google Reporting in Google Sheets. How? Technology www.qaexperts.pro
  • 9. 99 • Activate Jira API calls in jira: Allow Remote API Calls' should be turned ON under Jira’s Administration > General Configuration.panel • Add a custom menu and function to google sheet for configuring Jira’s parameters: Google Reporting in Google Sheets. How? www.qaexperts.pro
  • 10. 1010 Google Reporting in Google Sheets. How? Functions Base functions: 1) jiraConfigure() - Setting up access to a jira instance 2) UrlFetchApp.fetch(url,headers) -low level function for sending requests via http(s) protocol 3) getJiraDataForAPI(path) - Sending any GET requests to a specific instance of jira www.qaexperts.pro
  • 11. 1111 Google Reporting in Google Sheets. How? Functions Supplementary functions: 4) getJiraSearchResults(searchQueue, fieldsToShow) - Getting issue Jira Search results in JSON 5) parseJsonObjIntoArray(obj, loopPath, searchFor) - Parse JSON search results into 1 dimensional array according to the parameters specified www.qaexperts.pro
  • 12. 1212 Google Reporting in Google Sheets. How? Functions Main functions: 6) getJiraTotalForSearchResults(searchQueue) - Getting a number of issues found for the specified Jira search query e.g.: =getJiraTotalForSearchResults(“project in (‘ProjectName') and issuetype in (bug)”) www.qaexperts.pro
  • 13. 1313 Google Reporting in Google Sheets. How? Functions Main functions: 7) getJiraIssueContent(issueID) - Getting issue content in JSON to understand its JSON structure e.g.: =getJiraIssueContent(“KOK-234”) www.qaexperts.pro
  • 14. 1414 Google Reporting in Google Sheets. How? Functions Main functions: 7) getJiraIssueFieldsValues(searchQueue, searchFor, showOnlySuchFields) - Getting 1 dimentional array of issues fields values returned for the specified Jira search query e.g.: =getJiraIssueFieldsValues( "project in (KOK) and issuetype in (bug)"; "fields.status.name";"status") www.qaexperts.pro
  • 15. 1515 Google Reporting in Google Sheets. How? Power of Cells’ Referencing and Concatenation www.qaexperts.pro
  • 16. 1616 Google Reporting in Google Sheets. How? Power of “was in on” query type in jira project in (RON) and status was in ("Ready to Test") on '2015-04-11' www.qaexperts.pro
  • 17. 1717 Google Reporting in Google Sheets. How? Error Handling www.qaexperts.pro
  • 18. 1818 QA Reporting in Googlesheets 1. Quality Report 2. Time trends 3. Pivots 4. Audit reports DEMO www.qaexperts.pro
  • 23. 2323 Google Sheets Limitations 1. Custom functions execution time in sheet - not more than 30 sec 2. Custom function execution time in script - 5 min 3. UrlFetchApp.fetch(url,options) execution time - not more than 60 sec. www.qaexperts.pro