💣Cancel Task
As a task creator, I want to cancel a task
A task creator should have the option to cancel a task as long as he has not accepted the developer's estimation.
Input parameters
TaskID
How to call from app
Logic
Move the task back to drafts (We should maybe build a function for this so we don't have redundant logic)
Remove developer from project members (projects/members) array if no other task with same projectId found
We should send an email to the developer if There is someone assigned-
Send First Email:
to_email_adress = email_of_assigned_person
template_name = "tasks-canceled-by-creator->developer"
data = {taskData: taskData, taskId: taskId}
Last updated