GithubHelp home page GithubHelp logo

wilsonross / user-capacity Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 64 KB

Estimates how much time a developer will be able to spend on tickets when planning a sprint

Go 100.00%
everhour jira go golang

user-capacity's Introduction


About


User Capacity is a tool for evaluating how much time a developer will be able to spend on tickets during a sprint. It gathers data from Everhour, and a calendar feeds to determine this figure and sends it to Jira.


Installation

git clone https://github.com/rossw19/usercapacity.git
cd usercapacity
go get ./...
go build cmd/capacity.go

Configuration


The tool uses a yaml configuration file to determine the parameters for the application (similar to a dot-env). I have chosen this design decision so that key-value pairs can be added, along with user mapping between Everhour, Jira and the calendar feed. To start, rename the sample configuration file and fill in the values for API keys and API URLs. Some values are slightly ambiguous and explained below.


Key Description
api_url_everhour The base URL for the Everhour API
api_url_jira The base URL for the Jira API
api_url_ics The base URL for the calendar feed
api_email_jira The email address for the Jira API authentication
api_auth_everhour The API key for the Everhour API
api_auth_jira The API key for the Jira API
api_version_everhour The version of the Everhour API
logging Enables logging to var/log/debug.log in root directory of application
application_context_calendar_days The number of days a sprint takes to complete, including non-working days
application_context_working_days The number of days a sprint takes to complete, excluding non-working days
application_context_average_over The number of sprints the average is calculated over

User Mapping


Additionally, there is a user mapping configuration between each service. It contains the user identities from each feed. The calendar feed is mapped by name, as the service I use does not provide an employee ID.


Key Description
everhourId The user ID for the Everhour API
jiraId The user ID for the Jira API
name The name of the user in the calendar feed

Usage


After the application has been configured and built, it can be run by executing the file created when building the application. Additionally, a cron can be made to fire the application when required. Running the program during a workday when time is tracked will yield less accurate results.


Contact


Ross Wilson - [email protected]


user-capacity's People

Contributors

wilsonross avatar

Watchers

 avatar

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.