Git Product home page Git Product logo

work-item-reporter's Introduction

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 / 0

Format:

  • 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 <ORG> -t <TOKEN> -todo <TODO_QUERY> -doing <DOING_QUERY> -done <DONE_QUERY> -n "<NAME>"

Slack

go run main.go -o <ORG> -t <TOKEN> -todo <TODO_QUERY> -doing <DOING_QUERY> -done <DONE_QUERY> -n "<NAME>" -s <WEBHOOK>

Cron tab

0 10 * * 1 work-item-reporter -o <ORG> -t <TOKEN> -todo <TODO_QUERY> -doing <DOING_QUERY> -done <DONE_QUERY> -n "<NAME>" -s <WEBHOOK>

License

BSD 3-clause

Author

work-item-reporter's People

Contributors

mend-bolt-for-github[bot] avatar mikan avatar

Watchers

 avatar  avatar

work-item-reporter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.