Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.85 KB

WhatTimeLeft.md

File metadata and controls

62 lines (46 loc) · 1.85 KB

WhatTimeLeft

This tool collects all bugs and tasks from specific board in jira then it will group each issue by assignee and then just sum all remaning inside grop. And then it will just print it.

So by this way you can find out what busy time each team member has

Args**

FistArg: wtl

RequiredFlags:

  • projid - This is a jira project ID (like SPL-100)
  • board - This is a project board (like iOS)

OptionalFlags:

  • sprint - This is a project sprint. You can pass sprint name ("SPL iOS 01 Init") or id (123)
  • epic - This is a project epic. You can pass just a name ("SPL-IOS Infrastructure") or id (SPL-1)
  • showIssuesRefs - If set then all issues will printed under the assignee (like jira.com.dom/browse/SPL-21)

Usage

For using this tool you need to create config.json file near (in the same dir) the ToolBox binary:

{
  "user": "Your Jira Account Nmae",
  "pass": "Your Jira Password"
}

Then you need to run command ./TeamLeadToolBox wtl -projid=SMP board=iOS -sprint="SMP-IOS 01 Init" -showIssuesRefs for example and it may print:

board = iOS and project = SMP and status in ("To Do","In Progress") and issuetype in ("10002","10004")
YourTeamMember1: 	6h 0m
  https://jira.surfstudio.ru//browse/SMP-123
	https://jira.surfstudio.ru//browse/SMP-32
YourTeamMember2: 	0h 0m
YourTeamMember3: 	5h 0m
  https://jira.surfstudio.ru//browse/SMP-34
YourTeamMember4: 	4h 19m
  https://jira.surfstudio.ru//browse/SMP-1
	https://jira.surfstudio.ru//browse/SMP-2
  https://jira.surfstudio.ru//browse/SMP-3
	https://jira.surfstudio.ru//browse/SMP-4
....

If you don't want to use huge cmd command all time you may use this script:

echo "./TeamLeadToolBox wtl -projid=<YOUR PROJECT> -board=<BOARD>" >> run_wtl.sh
chmod +x run_wtl.sh

and then just

./run_wtl.sh

To see what flags exist for wtl just execute ./TeamLeadToolBox wtl -h