LiquidPlanner Classic Forum
Can't filter by "is_done" BAD ARGUMENT
*Posted on behalf of Jacob Raccuia. Original post date 2014-04-17*
Here is my URL:
/workspaces/{$this->workspace_id}/events?filter[]=project_id=11754768&filter[]=is_done is true
The filter works fine when I remove is_done. When it's there, I get the below error. I am using the API with PHP. I get similar errors when I use other filter variables.
```
stdClass Object
(
[type] => Error
[error] => BadArgument
[message] => operation: '' must be: is
)
```
Posted by LiquidPlanner Support almost 5 years ago
Filtering API Request for Type = Task
*Posted on behalf of Jeff Huth. Original posting date 2013-06-13.*
I would like to be able to filter server-side to get all of my recent Tasks. I only want Tasks (and not Alerts, nor Events). Is there a way to filter on the "type" attribute so that I only get type=Task?
Here is my current curl request that returns Tasks, Events, and Alerts.
```
https://app.liquidplanner.com/api/workspaces/[workspace.id]/tasks?filter[]=owner_id=[owner.id]&filter[]=is_done%20is%20false&filter[]=is_packaged%20is%20true&filter[]=earliest_start%20within%2010
```
Posted by LiquidPlanner Support almost 5 years ago
Getting tasks per project
*Posted on behalf of Chris Fidao. Original posting date 2013-06-11.*
Hello -
We'd like to create a "dashboard" to track hours done per project. That's fairly easy as a requirement (as each listed project has a task), but I was wondering if its possible to get a listing of tasks per project for a specific breakdown of viewing total time spent on a project?
Is there documentation for available "filters" or other parameters available to use per resource? (Where a resource is /projects, /tasks, /members and so on).
Thanks
Posted by LiquidPlanner Support almost 5 years ago
Using the API to detect odd tasks
*Posted on behalf of a customer. Original post date 2013-06-06.*
Hi, I was wondering if it was possible to detect some specific task cases using the API. I am writing a Python tool that would look over all of our tasks and pick out two cases that need attention: tasks with a remaining effort (low_effort_remaining & high_effort_remaining) of 0h-0h that have not been tagged as done, and tasks where no estimate has been provided yet (so we can bug people to do that more often). The problem is we've been unable to find a way to differentiate these two cases from each other. When accessed via the API both cases return 0.0 for both low_effort_remaining and high_effort_remaining. Is there a way to tell the two apart?
Posted by LiquidPlanner Support almost 5 years ago
Filter by custom field
*Posted on behalf of Ed. Original posting date 2013-03-22.*
I need to filter items by custom field. Can I do that? How?
Posted by LiquidPlanner Support almost 5 years ago
How do I filter tasks that are not yet done?
*Posted on behalf of Andrew Nixon. Original posting date 2013-12-10.*
I am trying to use the api to get a list of all high priority items which are not yet done (priority being a custom field I have added) but it consistently returns all the high priority tasks.
My url (end part) looks like this :
/tasks?custom_field[Priority]=High&is_done is false
The filter on the customfield works so I only get items marked as high priority and I've tried other permutations and variations of the done flag bug nothing seems to work. The result set includes a done_on field which I've also tried filtering on to no effect.
Thanks
Posted by LiquidPlanner Support almost 5 years ago