Project

Profile

Help

Task #7357

Create script/wiki about collecting statistics of completed tasks

Added by Mark Zaslavskiy over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
05.08.2016
Due date:
% Done:

0%

Estimated time:
1:00 h
Target branch:
Test scenario:

https://dev.osll.ru/projects/mdbci/wiki/Calculating_team_progress

History

#2 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from New to Active / In progress

#3 Updated by Mark Zaslavskiy over 4 years ago

  • Estimated time set to 1:00 h

#4 Updated by Mark Zaslavskiy over 4 years ago

argorithm:
(- retrive project id /projects.json )
- retrieve task ids for given filter /issues.json?project_id=187
- for each task:
-- retrieve journal for task issues/<task_id>.json?include=journals
-- find all journal entries, which were related to changing status * > Review (

journals.<N>.details.<M>.name = status_id && journals.<N>.details.<M>.new_value == 22

- build list of pairs date-user_who_created_entry_below (
 journals.<N>.details.<M>.user.name ,  journals.<N>.details.<M>.created_on)

-- distinct all mentioned users
-- for each user do user_task_Stat[user_name] = 1.0/user_count

#6 Updated by Mark Zaslavskiy over 4 years ago

python scripts/task_statistics.py --projectName '[mdbci] Maria DB Continuous integration tool' --hostName https://dev.osll.ru/ --issueFilter 'status_id=closed'

#7 Updated by Mark Zaslavskiy over 4 years ago

  • Test scenario updated (diff)

#8 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Active / In progress to Review

#9 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF