Real-Dev-Squad / website-backend

The backend code for all our website-related apps
https://api.realdevsquad.com/
MIT License
52 stars 252 forks source link

add: one-time script to filter unfinished tasks from archived users. #2040

Closed MehulKChaudhari closed 4 months ago

MehulKChaudhari commented 4 months ago

Date: 13/may/2024

Developer Name: @MehulKChaudhari


Issue Ticket Number

Description

We run a cron job every 6 hours to filter the orphan tasks and mark them BACKLOG but we don't have tasks filtered from users who left before this cron job was developed, So we need to run this script once to filter tasks from these users.

Documentation Updated?

Under Feature Flag

Database Changes

Breaking Changes

Development Tested?

Test Coverage

image

Additional Notes

I have edited the old implementation of orphan tasks filtration to make a one-time script. Later on will raise a PR to remove it completely