Giter Site home page Giter Site logo

auto_time_tracker's Introduction

AutoTimeTracker

Are you tired of manually submiting TT entries every day? Well, so am I :) . Auto Time Tracker will automatically submit a time tracker entry using the JIRA tickets you've been working on.

How to use?

  • Install dependecies
pip install -r requirements.txt
  • Fill the config.json file with information about your Jira account and your TimeTracker.
  • Execute the script auto_time_tracker.py
  • [Optional] add this script to a cron job that runs every day close to your EOD.

Jira token

Why do we need them?

To use JIRA API with basic auth.

How to generate it

https://confluence.atlassian.com/cloud/api-tokens-938839638.html

Google Calendar

AutoTimeTracker can pull your events from google calendar and include that information in the time tracker entry. To enable the google calendar integration you have to follow these steps:

  1. Go https://developers.google.com/calendar/quickstart/python and click on the ENABLE GOOGLE CALENDAR API entry.
  2. Download the credentials.json file and store it in your machine.
  3. Add an entry in the config.json pointing to the downloaded credentials file:
  ...
  "calendar": {
    "credentials_file": "my/credentials/file/path.json"
  }
  ...
  1. Enable the google calendar API for your project. To to this you need to access the following link https://console.developers.google.com/apis/api/calendar-json.googleapis.com/overview?project=[projectID] replacing projectID with the ID of the project you created in step 1. If you are not sure what the id of your project is please examine the credentials.json file you downloaded in step 2 and look for the client_id property, the format of the property is <projectId>-<extraData>.
  2. While running the application for the first time a web browser will be opened with an account selector. Select the account you want to use and grant read-only permissions to your calendar.

auto_time_tracker's People

Contributors

andruli avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.