<commit_before>jira-autotracker
================

An automated Jira time tracker. It automatically determines hours worked on a task by a given user based on if that task was assigned to the user and in a specific status during a day. For example, if `Task A` and `Task B` were being worked on (status = In Progress) by Ches on Day 1 then we assume Ches spent 4 hours on `Task A` and `4 hours` on `Task B`. It is assumed he is working on these tasks each day until the task is moved back to `Open` or is `Resolved`. Although not precise, it gives a very good indication of how long a task takes from getting started to being completed and how much dev time it takes to do so.

![Screenshot](https://dl.dropboxusercontent.com/u/127414/jira-autotracker/Screenshot%202014-10-06%2009.40.47.png)

# Setup

1. `npm install`
2. Copy `.env.dist` to `.env`
3. Set the enviroment variables in `.env` to what you need

# Running

1. `grunt`<commit_msg>Added reference to environment variables<commit_after>jira-autotracker
================

An automated Jira time tracker. It automatically determines hours worked on a task by a given user based on if that task was assigned to the user and in a specific status during a day. For example, if `Task A` and `Task B` were being worked on (status = In Progress) by Ches on Day 1 then we assume Ches spent 4 hours on `Task A` and `4 hours` on `Task B`. It is assumed he is working on these tasks each day until the task is moved back to `Open` or is `Resolved`. Although not precise, it gives a very good indication of how long a task takes from getting started to being completed and how much dev time it takes to do so.

![Screenshot](https://dl.dropboxusercontent.com/u/127414/jira-autotracker/Screenshot%202014-10-06%2009.40.47.png)

# Setup

1. `npm install`
2. Copy `.env.dist` to `.env`
3. Set the enviroment variables in `.env` to what you need

# Environment Variables
- PORT=3000
- JIRA_HOST=
- JIRA_USERNAME=
- JIRA_PASSWORD=
- JIRA_FILTER=
- JIRA_STATUSES="In Progress"

# Running

1. `grunt`
{'fraction_non_alphanumeric': 0.09175662414131501, 'fraction_numerical': 0.0323846908734053, 'mean_word_length': 4.0975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1231797', 'n_tokens_mistral': 660, 'n_tokens_neox': 612, 'n_words': 310}