Coder Social home page Coder Social logo

fyyyyy / toggl-to-jira-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 24.0 164 KB

Sync toggl time entries with Jira work log

Home Page: https://chrome.google.com/webstore/detail/toggl-to-jira/anbbcnldaagfjlhbfddpjlndmjcgkdpf

License: GNU General Public License v3.0

HTML 3.58% JavaScript 94.65% CSS 1.76%

toggl-to-jira-chrome-extension's People

Contributors

baikunz avatar fyyyyy avatar jhelmink avatar sebastianwahn avatar tobiasschuerg avatar williammustaffa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toggl-to-jira-chrome-extension's Issues

XSRF check failed error

First off, thanks for building this for free so I don't have to pay $10/month to some random software company on the internet.

I'm getting the following error

screenshot 2019-01-18 10 02 47

MacOS Mojave 10.14.2
Chrome 71.0.3578.98
Toggle Chrome Plugin 1.19.1

I'm not really sure what else context you may need.

Timezone mismatch?

All worklogs are one hour of (one hour too early). Could this be a timezone mismatch?

Log work to JIRA message

There is a warning message at the bottom of the popup: "Logging repeatedly will add new time logs for the same JIRA task, instead of overwriting the old log. So log only once per Toggl entry."

Is this still valid? From the code and my usage it looks like you'd always be prevented from being able to log anything twice since it checks the Jira work entries and matches them against the toggl entries?

I think we should remove this message, but wanted to make sure I wasn't missing something first!

Not working

As i mentioned on Chrome Web Store, the plugin is not working.

I checked the console logs and it seems that the Toggl api is returning 403.

I do not know if this is related to the plugin it self, or to Toggl api.

Hardcoded Toggl URL can cause 403s

When you go to https://www.toggl.com/login and use Google sign-in, you get redirected to https://toggl.com/app, notice the lack of www.. In https://github.com/fyyyyy/Toggl-to-Jira-Chrome-Extension/blob/master/parser.js#L193 there is a hardcoded https://www.toggl.com/api/v8/time_entries URL. Because you don't have the required cookie for www.toggl.com domain, you get 403 from the API and the extension doesn't work as expected.

Workaround I found is to set the account password by resetting your Toggl password and use it to log in. Would be great if the extension handled this case, though. The easiest to implement (not so great UX) would be to make the Toggl host configurable.

Suggestion for handling worklog comments

From my understanding, currently the extension takes the first word of the Toggl time entry description and checks on JIRA if an item with that key exists. then adds the toggl time entry as a worklog.

Could an option be added so that when activated the plugin would use the rest of the Toggl description as the worklog comment for the JIRA issue?

Example:
I have a toggl entry that look like this
LOM-951 Add dropdown menu to element on site

Currently the extension takes the "LOM-951" and searches for the item on JIRA. If it finds the items it adds the tracked time with the comment that is set in the extension options.
My proposal is to enable the extension to use the rest of the description.
So in this case: "Add dropdown menu to element on site", and to use that as the comment for that issue when logging the worklog in JIRA.
This would enable me to add meaningful comments to the worklog on Jira by editing the Toggl time entries.

Unfortunately I am not familiar with javascript and extension developing to propose a technical solution for this. But maybe somebody could add this.

Thanks.

Migrate to Toggl v9 API

Yesterday I got an email from Toggl saying that they will shut down their v8 API on May 23rd and that I need to migrate to v9. I checked the source code of this project and it uses v8 as I was suspecting.
This means that this extension will stop working in less than a month if the migration is not done in time.
Here are the URLs they sent in the email with the documentation for the migration process:

From what I've seen in the source code, the changes seem to be simple. I'll try to create a PR with them.

doesn't work, idk

installed, added our jira server url, without trailing slash, nothing happens when i try to load entries.
tried with and without inputting a end date.
no console errors, no network requests.
what should i be looking for?

chrome: Version 62.0.3202.94 (Official Build) (64-bit)
Toggl to Jira 2.0.5

i'm so this doesn't work right now :(

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.