BE: Close/Open work items if needed when status changes
As per our design doc and the below confirmation from Nick, we need to close work item automatically when a done or cancelled status is applied.
Any done or canceled status being applied should close the issue. We want to avoid confusing states where something is "done" but not "closed", and to minimize the amount of redundant work required.
In case of status change, we should change the state of the work items, according to the assign status.
- Default close => close WI
- Default open => Open WI(if closed)
We should also check if there are any cases where the state needs to change when the status for a WI change
Edited by Stefanos Xanthopoulos