BZ-1009631 - RESTWorkItemHandler does not set 'Status' and 'StatusMsg' for all return codes
(cherry picked from commit 69996dab44bb7b78c2688e5452c401030d708291)