SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
QA Fest 2015. Владимир Примаков. Автоматизация нестандартной отчетности из JIRA в GoogleSheets (quality report и др.)
Если вы устали от ручной работы по составлению нестандартных отчетов из Jira, например таких как отчет о качестве продукта, либо визуализация любой другой нестандартной информации полезной для эффективного управления проэктом по разработке ПО, то в этом докладе я продемонстрирую вам подход автоматизации подобной отчетности средствами googlesheets реализованный и используемый в компании Ciklum, который при необходимости вы можете с небольщими усилиями перенять себе.
Если вы устали от ручной работы по составлению нестандартных отчетов из Jira, например таких как отчет о качестве продукта, либо визуализация любой другой нестандартной информации полезной для эффективного управления проэктом по разработке ПО, то в этом докладе я продемонстрирую вам подход автоматизации подобной отчетности средствами googlesheets реализованный и используемый в компании Ciklum, который при необходимости вы можете с небольщими усилиями перенять себе.
QA Fest 2015. Владимир Примаков. Автоматизация нестандартной отчетности из JIRA в GoogleSheets (quality report и др.)
1.
Jira Reporting in
GoogleSheets
www.qaexperts.pro
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