LiquidPlanner Classic Forum

Ask a Question
ANSWERED
ANSWERED

Easiest way to create a task at top of a list?

*Posted on behalf of Ricardo Signes. Original posting date 2016-01-25.* I'd like to make an API call that creates a new task, putting it first in the INBOX. I don't see a way to do this in one call. What's my best option, here? I guess I could get the tasks in the inbox, and then move the new task before the first one? Is there a single-stroke mechanism?
ANSWERED
ANSWERED
ANSWERED

How to create an event through the API

*Posted on behalf of Mark Hodgkinson. Original posting date 2015-12-07.* I am trying to create an event through the API, and it seems to work, but not properly. It always seems to create my Event as a Task. The URL is: https://app.liquidplanner.com/api/workspaces/xxxxxxx/tasks The data is: {"task": {"activity_id":0,"work":0.0,"alerts":null,"project_id":null,"client_id":null,"client_name":null,"created_at":null,"created_by":0, "custom_field_values":null,"done_on":null,"started_on":null,"start_date":"2015-12-15T00:00:00","description":null, "earliest_finish":null,"earliest_start":null,"expected_finish":null,"expected_start":null,"p98_finish":null,"global_priority":null, "global_package_priority":null,"has_note":false,"high_effort_remaining":0.0,"is_done":false,"is_on_hold":false, "effective_is_on_hold":false,"is_packaged_version":false,"is_shared":false,"latest_finish":null,"low_effort_remaining":0.0, "manual_alert":null,"max_effort":null,"name":"Holiday for xxx","assignments":[{"person_id":607569,"team_id":null,"low_effort_remaining":0.0,"high_effort_remaining":0.0,"treeitem_id":0,"space_id":0, "activity_id":0,"is_done":false,"daily_limit":null,"position":0,"hours_logged":0.0,"expected_finish":"2015-12-15", "expected_start":"2015-12-15","can_destroy":false,"type":"Event","id":0}],"parent_id":25590341,"finish_date":"2015-12-15T00:00:00", "external_reference":null,"package_id":null,"parent_ids":null,"parent_crumbs":null,"package_ids":null,"package_crumbs":null, "occurrences":null,"updated_at":null,"updated_by":0,"item_email":null,"type":"Event","id":0}} Any idea why? I am using C#, so any example or assistance in C# would be gratefully appreciated!
ANSWERED

API setup issue

*Posted on behalf of a customer. Original posting date 2015-12-02.* Greetings dev team, Our team is currently working on the API set up we spoke about. They ran into the following issue and they were hoping we could connect them with a member of the LP support team. Is there a contact available that I could loop into out zen ticket? The issue they have faced is described below: ``` POST https://app.liquidplanner.com/api/workspaces/xxxxx/tasks/26479814/comments ``` ``` '{"comment": {"comment": "my new comment "}}' ``` (With basic authentication on my user name and password) Returns error: ``` {"type":"Error","error":"BadArgument","message":"Expected a hash of attribute values for comment parameter"} ``` This is exactly what their documentation outlines, however, so I'm surprised by the error. Thanks,
ANSWERED
ANSWERED

Some (but not all) comments going to and from LiquidPlanner and Zendesk

*Posted on behalf of a customer. Original posting date 2015-11-12.* Greetings devs, Say I've got a ticket in Zendesk and a corresponding task in LiquidPlanner, and I want to be able to manually set which comments are transferred to the other system. Is that possible? Can you provide any details as to how this might work from a user experience perspective? I'm hoping it could be possible to post something in the comment that would tell either system to update the other system. I'm pretty sure it's well within our API capabilities to have all comments go back and forth, but in this case there is lots of information that doesn't need to be shared. Thanks!
ANSWERED

Filter for custom fields is not able to use does_not_start_with?

*Posted on behalf of Chris Pauly. Original posting date 2015-10-20.* We have a custom field that has the value "Yes" on some projects, but isn't set on most projects. I wanted to write a query that would return all projects that don't have a custom field set to "Yes". I'm using the following query param: ```&custom_field[Exclude%20from%20Report] does_not_start_with Yes``` When I try to make the API call, I get a 500 error. Am I doing something wrong, or is that comparison operator not supported for custom fields?
ANSWERED