🚦Submit for review
As a developer, I want to submit a task for review when I'm done with the work.
Input parameters
How to call from app
HTTP request to: /submit-task-for-review/TASKID
Logic
The frontend (app.tasksource.io) calls the API endpoint
the backend should now set a field in the task document (submittedForReview = true)
Send First Email:
to_email_adress = email_of_assigned_person
template_name = "tasks-submitted-for-review->developer"
data = {taskData: taskData, taskId: taskId, comment: comment}
Send Second Email:
to_email_adress = email_of_task_creator
template_name = "tasks-submitted-for-review->creator"
data = {taskData: taskData, taskId: taskId, comment: comment}
Last updated