# Get all tasks added to a specific section of a project on a specific date

**URL:** <https://forum.asana.com/t/get-all-tasks-added-to-a-specific-section-of-a-project-on-a-specific-date/87763>\
**Category:** API & Developers\
**Tags:** advanced-search\
**Created:** [1 July 2020 16:53 UTC](https://forum.asana.com/t/get-all-tasks-added-to-a-specific-section-of-a-project-on-a-specific-date/87763 "2020-07-01T16:53:06Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Frederic\_Malenfant](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/frederic_malenfant/32/8358_2.png) [@Frederic\_Malenfant](https://forum.asana.com/u/Frederic_Malenfant)\
**Post date:** [2 July 2020 13:38 UTC](https://forum.asana.com/t/get-all-tasks-added-to-a-specific-section-of-a-project-on-a-specific-date/87763/5 "2020-07-02T13:38:13Z")

</div>

There’s a way, but it’s not easy, and also not 100% accurate.

If the tasks you need to get these informations are still in that section, first, query all ids of tasks in that section:  
/sections/xxx/tasks

If you have too many tasks, I suggest to use the “search” endpoint with modified\_since parameter.

Then, for each task, get their stories: (you can use the “batch” endpoint)  
/tasks/yyy/stories  
The opt\_fields that you want are resource\_subtype and created\_at.

Then, loop all results, and find the most recent “resource\_subtype” = “section\_changed”.  
But, watch out for this:  
If a task was moved from another section to that section, you will see the “section\_changed” event.  
BUT, if the task was created directly in that section (or moved from another project?), that event does not exists.  
You will need to see the most recent “added\_to\_project” instead.

Important note: in asana, **you can “delete” items from history**!!! Stories are editable and deletable. It’s possible that none of the stories are available if someone deleted them.

There’s more informations available about stories “resource\_subtype” on [that thread](https://forum.asana.com/t/no-more-parsing-story-text-new-fields-on-stories/42924).

Hope this helps!

---

_[View the full topic](https://forum.asana.com/t/get-all-tasks-added-to-a-specific-section-of-a-project-on-a-specific-date/87763)._
