# How to search for orphaned tasks from deleted projects?

**URL:** <https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432>\
**Category:** Closed\
**Created:** [10 August 2018 18:59 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432 "2018-08-10T18:59:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kim\_S](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/kim_s/32/17604_2.png) [@Kim\_S](https://forum.asana.com/u/Kim_S)\
**Post date:** [10 August 2018 18:59 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/1 "2018-08-10T18:59:23Z")

</div>

I need to search for orphaned tasks from projects that were deleted. Is there a way to do this? These were assigned to someone, but don’t show up in any advanced search unless I know the actual name of the task.

I want to find all of them and clean them up (delete or archive them). Please help! TIA

---

<div class="post-metadata">

**Author:** ![RyanE](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/ryane/32/12382_2.png) [@RyanE](https://forum.asana.com/u/RyanE)\
**Post date:** [10 August 2018 22:25 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/2 "2018-08-10T22:25:54Z")

</div>

Are they actually deleted? Or is the project archived?

My testing shows tasks associated with deleted projects look like they get unassociated with the project, but Advanced Search doesn’t appear to count tasks associated with a deleted project as qualifying for the “No Project” filter even though there’s nothing on the task to make this state obvious. @Marie, this feels like a bug or feature request.

@Kim_S I do have a potential workaround for you at the bottom after I demonstrate the issue.

**Here’s my testing:**  
I made a test project called “test delete project” and assigned myself a task:  
 ![image](https://us1.discourse-cdn.com/asana/original/3X/2/f/2f155b782f57bf55194aeb68405d2519d428b1af.png)

Then I deleted the project:  
 ![image](https://us1.discourse-cdn.com/asana/original/3X/2/a/2a92b09cea6d1e879b3a6d8cc0a3adadd86f768a.png)

Two main things to note here is the task appears to no longer be in a project: Both in the project section and in the task story (i.e. “added to test delete project” disappears).

I then tried to search for the task using myself, “No Project” and “Incomplete” as filters:

 ![image](https://us1.discourse-cdn.com/asana/original/3X/b/9/b91d8f6566a95ef003ebad01b38bebd7c48f4132.png)

The results don’t find the “test incomplete” task:  
 ![image](https://us1.discourse-cdn.com/asana/original/3X/b/a/ba03ffaef297cababeaf8284a4b611f21d12fd24.png)

Instead it’s just a couple personal tasks for myself.

**Potential Workaround**  
There’s a wonky way to kind of do it, but if you have a lot of projects, it’s tough:

- Start an advanced search and select Projects-\>Not in these projects…  
 ![image](https://us1.discourse-cdn.com/asana/original/3X/d/c/dc1577918491b8592c8f58bde12da037c3ee0cf4.png)

- Add _all_ of your active projects to this list with other relevant criteria (like assignee, incomplete, etc.)

This will find it (plus any other personal tasks):

 ![image](https://us1.discourse-cdn.com/asana/original/3X/c/7/c75801682170b2d7a85f2b2f412ae5126a471cc6.png)

Hopefully that might help some (if you have archived projects too, those tasks will show up also).

---

<div class="post-metadata">

**Author:** ![Marie](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/marie/32/42208_2.png) [@Marie](https://forum.asana.com/u/Marie)\
**Post date:** [15 August 2018 13:58 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/3 "2018-08-15T13:58:46Z")

</div>

@Kim_S Can you confirm wether these projects have been archived or canceled?

@RyanE let me do some more digging into this and check with the team, I’ll keep you posted asap!

---

<div class="post-metadata">

**Author:** ![Kim\_S](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/kim_s/32/17604_2.png) [@Kim\_S](https://forum.asana.com/u/Kim_S)\
**Post date:** [15 August 2018 14:43 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/4 "2018-08-15T14:43:19Z")

</div>

Hi @Marie  
They are projects where we had people assigned to tasks but the project was deleted. Now we’ve had the assignee’s having phantom task reminders showing up in their email. If I have the exact task name, I can find that one task. But I know that there are more out there, so, I was hoping to do a search, find _all_ of them at one time and just delete them or get them pushed into another appropriate project.

---

<div class="post-metadata">

**Author:** ![Marie](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/marie/32/42208_2.png) [@Marie](https://forum.asana.com/u/Marie)\
**Post date:** [15 August 2018 14:54 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/5 "2018-08-15T14:54:04Z")

</div>

Thanks for the additional information @Kim_S, really appreciate it!

I believe you should be able to search for this tasks using the following criteria:

1. Assigned -\> you
2. In Projects -\> No Project (@RyanE you can add “No Project” to the “In Projects” field, which is quicker than using “More \> Project \> not in these projects” 😉 )
3. Completion -\> Incomplete

Unfortunately, I’ve ran a few tests and this doesn’t seem to return tasks assigned from deleted projects. I suspect this could be a bug, so I have gone ahead and escalated a bug to our Development Team; I’ll make sure to keep you posted as soon as I have an update.

---

<div class="post-metadata">

**Author:** ![Marie](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/marie/32/42208_2.png) [@Marie](https://forum.asana.com/u/Marie)\
**Post date:** [15 August 2018 14:55 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/6 "2018-08-15T14:55:06Z")

</div>

@RyanE Thank you so much for taking the time to run tests and share all your screenshots, it was super useful 👍🏼

---

<div class="post-metadata">

**Author:** ![Emily\_Roman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/emily_roman/32/283076_2.png) [@Emily\_Roman](https://forum.asana.com/u/Emily_Roman)\
**Post date:** [21 October 2021 14:01 UTC](https://forum.asana.com/t/how-to-search-for-orphaned-tasks-from-deleted-projects/28432/7 "2021-10-21T14:01:14Z")

</div>

Closed on 21 October 2021 14:01 UTC


