# Read tasks limiting those with a specific assignee\_status

**URL:** <https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878>\
**Category:** API & Developers\
**Created:** [9 September 2017 21:29 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878 "2017-09-09T21:29:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlo](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/carlo/32/38703_2.png) [@Carlo](https://forum.asana.com/u/Carlo)\
**Post date:** [9 September 2017 21:29 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/1 "2017-09-09T21:29:42Z")

</div>

Hello Everyone,

I have implemented a small web app that allows me to print the tasks in “_My Tasks_”. One of the issues I have is that when I gather my tasks, I cannot limit the tasks to those that are in “_Today_” or “_Upcoming_” by passing a value in the query for the parameter “ **assignee\_status** ”.

Is this supported and I haven’t found the right way of doing it?

I am using the PHP extension and the call I use is this:

```
$asanaTasks = $this->asana->tasks->findAll(
        array(
            'assignee' => $this->asanaUser,
            'workspace' => $this->asanaWorkspace,
            'completed_since' => 'now',
            'assignee_status' => 'upcoming'
        ),
        array('fields'=>array('name', 'assignee_status'))
    );

```

As you can see I request the assignee\_status to be passed in the fields and I require only the assignee\_status which are upcoming; however, this does not seem to be working.

Any suggestions?

Ciao  
Carlo

---

<div class="post-metadata">

**Author:** ![Diakoptis](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diakoptis/32/22726_2.png) [@Diakoptis](https://forum.asana.com/u/Diakoptis)\
**Post date:** [9 September 2017 23:50 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/2 "2017-09-09T23:50:50Z")

</div>

Hey @Carlo,

As you can read from the [API documentation](https://asana.com/developers/api-reference/tasks#query) for the task queries you cannot search the tasks by the assignee\_status. You will need to get all the tasks with assignee/workspace/completed\_since and filter out the tasks with assignee\_status as ‘upcoming’.

ps. @Alexis the documentation page has some issues with the styling (some text is out of the tables)

---

<div class="post-metadata">

**Author:** ![Carlo](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/carlo/32/38703_2.png) [@Carlo](https://forum.asana.com/u/Carlo)\
**Post date:** [10 September 2017 08:15 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/3 "2017-09-10T08:15:33Z")

</div>

Thanks @Diakoptis

I looked in the documentation, but I must have missed it.  
The solution you proposed is the one I use, but I was trying to save time in fetching less tasks! 😃

Cheers!

---

<div class="post-metadata">

**Author:** ![Diakoptis](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diakoptis/32/22726_2.png) [@Diakoptis](https://forum.asana.com/u/Diakoptis)\
**Post date:** [10 September 2017 12:58 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/4 "2017-09-10T12:58:46Z")

</div>

Glad I helped @Carlo 🙂

I am also feeling that search tasks api needs some enhancements but I am not sure that this is a priority for asana dev team.

---

<div class="post-metadata">

**Author:** ![Jeff\_Schneider](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/jeff_schneider/32/146_2.png) [@Jeff\_Schneider](https://forum.asana.com/u/Jeff_Schneider)\
**Post date:** [11 September 2017 18:40 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/5 "2017-09-11T18:40:24Z")

</div>

Asana developer advocate here – we too would like to enhance task filtering in the API. While we haven’t scoped or committed to the work yet, it is something we would like to improve in the API.

---

<div class="post-metadata">

**Author:** ![Carlo](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/carlo/32/38703_2.png) [@Carlo](https://forum.asana.com/u/Carlo)\
**Post date:** [11 September 2017 21:40 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/6 "2017-09-11T21:40:58Z")

</div>

Hi @Jeff_Schneider

The filtering is a “_nice to have_” feature, but as you filter before the call, you can easily filter the results after the call. It is a bit slower, as you have to get all the information first and discard them later, but works…

Ciao  
Carlo

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 18:58 UTC](https://forum.asana.com/t/read-tasks-limiting-those-with-a-specific-assignee-status/7878/7 "2025-05-30T18:58:21Z")

</div>

Closed on 30 May 2025 18:58 UTC


