Giter Site home page Giter Site logo

bashev / jetbrains-clickup-tracking Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 23 KB

Enable Time Tracking of JetBrains (PHPStorm, WebStorm and etc.) with ClickUp (using Gitlab endpoints)

PHP 100.00%
clickup clickup-tasks jetbrains phpstrom timetracking

jetbrains-clickup-tracking's Introduction

JetBrains Time Tracking for ClickUp (Server)

Enable Time Tracking of JetBrains (PHPStorm, WebStorm) with ClickUp (using Gitlab endpoints).

This is some kind of workaround with which you are able to track your development time directly from your IDE (PHPStorm) to ClickUp. Current setup is a server on which we capturing native JetBrains integration with Gitlab requests and serve ClickUp data (spaces and tasks) in Gitlab format. Tracking data is pushed to ClickUp with capturing data which is pushed to "fake" Gitlab server.

Requirements

  • PHP >= 7.4 (not tested with PHP8.x, but code is compatible)
  • Apache >= 2.4 (not tested with nginx)

Apache vhost configuration

Apache Directive AllowEncodedSlashes need to be enabled. Put this line AllowEncodedSlashes NoDecode somewhere between <VirualHost> and </VirtualHost>

Virtual Host example file:

<VirtualHost *:80>
    ServerName track.example.com
    DocumentRoot /var/www/vhosts/track
    ErrorLog /var/log/httpd/track.example.com-error_log
    CustomLog /var/log/httpd/track.example.com-access_log combined
    HostnameLookups Off
    UseCanonicalName On
    ServerSignature Off

    <FilesMatch \.php$>
        SetHandler "proxy:unix:/var/php-fpm/www.sock|fcgi://localhost:9000"
    </FilesMatch>

    AllowEncodedSlashes NoDecode
    
    <Directory "/var/www/vhosts/track">    
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

PHP Storm Configuration

Configure Tracking Server

  1. Go to File Settings (Ctrl + Alt + S) - Tasks - Servers.
  2. Click on + and choose Gitlab Server.

image

  1. Add server address configured above (http://track.example.com).
  2. Put ClickUp API Key (Menu - Integrations - Custom Apps). API Key starts with "pk_".
  3. Choose Project (ClickUp Space) from which will be fetched tasks.

image

Enable Time Tracking

  1. Go to File - Settings (Ctrl + Alt + S) - Tasks - Time Tracking.
  2. Check Enable Time Tracking.

image

Track Time

When Time Tracking feature is enabled you will see additional window form which you can get list of tasks.

Known issues

  • Comments from Tracking window are not added to ClickUp.

Have a nice Tracking :)

Disclaimer

This was created for internal purposes and probably will not cover all cases. Feel free to open issue or fork and modify the code for your own requirements.

jetbrains-clickup-tracking's People

Contributors

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