diff --git a/plugins/tracker-resources/src/components/workflow/Statuses.svelte b/plugins/tracker-resources/src/components/workflow/Statuses.svelte index d8b87c87ab..851ccb88eb 100644 --- a/plugins/tracker-resources/src/components/workflow/Statuses.svelte +++ b/plugins/tracker-resources/src/components/workflow/Statuses.svelte @@ -129,7 +129,7 @@ closeTooltip() const { detail: status } = event - const issuesWithDeletingStatus = await client.findAll(tracker.class.Issue, { status: status._id }) + const issuesWithDeletingStatus = await client.findAll(tracker.class.Issue, { status: status._id, space: projectId }) if (issuesWithDeletingStatus.length > 0) { showPopup(RemoveStatus, {