Successfully reported this slideshow.

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

0

Share

1 of 24
1 of 24

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

0

Share

Если вы устали от ручной работы по составлению нестандартных отчетов из Jira, например таких как отчет о качестве продукта, либо визуализация любой другой нестандартной информации полезной для эффективного управления проэктом по разработке ПО, то в этом докладе я продемонстрирую вам подход автоматизации подобной отчетности средствами googlesheets реализованный и используемый в компании Ciklum, который при необходимости вы можете с небольщими усилиями перенять себе.

Если вы устали от ручной работы по составлению нестандартных отчетов из Jira, например таких как отчет о качестве продукта, либо визуализация любой другой нестандартной информации полезной для эффективного управления проэктом по разработке ПО, то в этом докладе я продемонстрирую вам подход автоматизации подобной отчетности средствами googlesheets реализованный и используемый в компании Ciklum, который при необходимости вы можете с небольщими усилиями перенять себе.

More Related Content

More from QAFest

Related Books

Free with a 14 day trial from Scribd

See all

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

  1. 1. Jira Reporting in GoogleSheets www.qaexperts.pro
  2. 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. 3. 33 • Introduction – 2 min • Main part – 15 min • Questions (3 min) Presentation Plan www.qaexperts.pro
  4. 4. 44 www.qaexperts.pro
  5. 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. 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. 7. 77 Google Reporting in Google Sheets. How? Technology www.qaexperts.pro JIRA REST API (HTTPS/JSON)
  8. 8. 88 Google Reporting in Google Sheets. How? Technology www.qaexperts.pro
  9. 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. 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. 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. 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. 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. 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. 15. 1515 Google Reporting in Google Sheets. How? Power of Cells’ Referencing and Concatenation www.qaexperts.pro
  16. 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. 17. 1717 Google Reporting in Google Sheets. How? Error Handling www.qaexperts.pro
  18. 18. 1818 QA Reporting in Googlesheets 1. Quality Report 2. Time trends 3. Pivots 4. Audit reports DEMO www.qaexperts.pro
  19. 19. 1919 EXAMPLE 1: www.qaexperts.pro
  20. 20. 2020 EXAMPLE 2: www.qaexperts.pro
  21. 21. 2121 EXAMPLE 3: www.qaexperts.pro
  22. 22. 2222 EXAMPLE 4: www.qaexperts.pro
  23. 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
  24. 24. 2424 Thank you! ;) QUESTIONS?

×