Sign in to participate

Be Kind, Be Helpful

Ask a question, answer a question, and get to know the fine people in the Harvest community.

Forum powered by Altered Beast
This is the user page for jonasvp
Last seen 19 days ago

jonasvp

Avatar

Jonasvp has not yet entered a bio.

Avatar

RE: Toggling projects by API not possible IN: API and Developers

Ok, this is embarassing… with Jon’s help I found out that I’ve simply been using the wrong URL. Ouch.

Thanks for your help, Jon! My takeaways:

  • the Python “requests” library doesn’t automatically pass a Content-Length header when there’s no data, which throws off some servers (leading to the 411 mentioned above).
  • have someone else look at your code before filing bugs. :-)

Avatar

RE: Toggling projects by API not possible IN: API and Developers

Hi,

we created a small helper script to rotate our projects with a monthly budget, so we can still use the budget functionality within harvest (see feature request here: http://forum.getharvest.com/forums/help/topics/...)

However, using the API to toggle the old project doesn’t seem to work. We’re using this documented call: http://www.getharvest.com/api/projects#deactiva...

It says that we should use a PUT request which isn’t very RESTy, since the final state depends on the current state of the project (active/inactive). Anyway, when we do so, it fails with a “411 Content Length required” error. Passing the Content Length “0” or using a POST request leads to a 404 page.

Any pointers on how to use the toggle-method on a project using the API?

Thanks in advance,

Jonas

Avatar

RE: How do I set a monthly buget? IN: Help!

We had the same problem as most of our clients want monthly budgets. So we wrote our own little helper script. It uses the Harvest API to automatically rotate projects with budgets that end with the current month such as this: “Website maintenance 2011-10”.

We run it using cron on the first of every month and it takes all these projects, archives them and creates new projects with the same members and tasks but a new month in the title.

That solved the problem for us. The script is pretty bare-bones but it’s here if you’d like to take a look: https://gist.github.com/1330207

Hope it helps someone.

Avatar

RE: Small request: change <title> of timer window to task IN: Feature Requests

Hi Harvest,

I have a very tiny request (I hope): when I start a timer, could you change the window title of the time tracker window from “Timesheet” to whatever it is I’m currently tracking?

I always have a separate window open for my timer and it would be very helpful to see the currently active project in my taskbar. On one hand, it would help me focus on what I’m supposed to do at the moment, on the other hand, it would remind me to switch timers whenever I start working on something else.

Best would be, if it contained the beginning of the notes I entered as well. So a typical title would be:

“Check imports – Development – Project Name – Timesheet – Harvest”

Thanks a lot!

Jonas

Avatar

RE: Estimate to Project IN: Feature Requests

This is something we really need as well. We do use the estimate functionality but it seems like work done twice when the estimate gets accepted and turned into a project.

Avatar

RE: Linux timer widget IN: Feature Requests

Wicked! Thanks for the pointer. My favorite thing, however, would be something that sticks on the task bar (an AppIndicator, http://unity.ubuntu.com/projects/appindicators/) and helps me switch quickly since I tend to forget if it’s not right in front of me… maybe I’ll just write it myself. :-)

Avatar

RE: Linux timer widget IN: Feature Requests

We recently switched from Toggl to Harvest and I really miss the timer widget. I can see that Windows and Apple users get one but us Linux users are left with the web interface – which is fine for manually adding time but clunky when you’re trying to start and stop a timer while switching tasks.

Is there any way we could get a widget as well? Any third-party solutions out there? I’d be happy with a separate page without extraneous info (menus, etc.) that I could drop into a site-specific browser, too. I’m on Ubuntu 11.04.

Avatar

RE: Customizable Invoices IN: Feature Requests

Just one more thought on this: we have German and international customers and it’s important for us to be able to bill them in their respective language. Right now, we can only translate invoices globally – it would be really helpful if the translation could be applied to individual customers.

Right now we’re creating invoices in Harvest and re-doing them in OpenOffice for our international customers. :-(