https://github.com/mikan/work-item-reporter
Generate weekly report of Azure DevOps Work Items
https://github.com/mikan/work-item-reporter
azure-boards azure-devops slack
Last synced: about 1 month ago
JSON representation
Generate weekly report of Azure DevOps Work Items
- Host: GitHub
- URL: https://github.com/mikan/work-item-reporter
- Owner: mikan
- License: bsd-3-clause
- Created: 2020-01-27T00:38:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-28T23:32:38.000Z (about 5 years ago)
- Last Synced: 2023-03-12T09:03:33.458Z (about 2 years ago)
- Topics: azure-boards, azure-devops, slack
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# work-item-reporter
Generate weekly report of Azure DevOps Work Items.
## Example Output
> *mikan's Weekly Report*
>
>
> *===== To-Do / 16 =====*
>
> ● [scrum1] 📘27: Sample Product Backlog Item / 8
>
> ● [scrum1] 📘33: Sample Product Backlog Item / 8
>
> *===== DOING / 0 =====*
>
> ● [agile2] 📘3: Sample User Story / 0
>
> ● [scrum1] 🏆21: Sample Epic / 0
>
> ● [scrum1] 🏆37: Sample Epic / 0
>
> ● [agile2] 📋43: Sample Task / 0
>
> *===== DONE / 50 =====*
>
> ● [scrum1] 📘4: Sample Product Backlog Item / 16
>
> ● [scrum1] 🏆19: Sample Epic / 0
>
> ● [scrum1] 📘26: Sample Product Backlog Item / 5
>
> ● [scrum1] 📘28: Sample Product Backlog Item / 8
>
> ● [scrum1] 📘29: Sample Product Backlog Item / 13
>
> ● [scrum1] 📘32: Sample Product Backlog Item / 8
>
> ● [agile3] 🐞39: Sample Bug / 0
>
> ● [agile2] 📋40: Sample Task / 0
>
> ● [agile3] 🐞51: Sample Bug / 0Format:
- each headers: `===== header / total-effort =====`
- each items: `[project] number: title / effort`## Prerequisites
- Azure Boards Query UUIDs (shown in browser address bar)
- My to-do items
- `State` In `New,Open,Accepted,Ready,Approved,To Do`
- And `Assigned To` = `(YOU)`
- My doing items
- `State` In `Committed,Doing,In Progress,Doing,Active`
- And `Assigned To` = `(YOU)`
- My done items last week
- `Closed Date` >= `@StartOfDay('-7d')`
- And `Assigned To` = `(YOU)`
- Personal Access Token
- Slack Incoming Webhook URL## Usage
Standard output (for testing)
```
go run main.go -o -t -todo -doing -done -n ""
```Slack
```
go run main.go -o -t -todo -doing -done -n "" -s
```Cron tab
```
0 10 * * 1 work-item-reporter -o -t -todo -doing -done -n "" -s
```## License
[BSD 3-clause](LICENSE)
## Author
- [mikan](https://github.com/mikan)