-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
At the moment when we are creating Jobs, JobCandidates and ResourceBookings we do not allow setting status
field and just hardcode the value.
- We should allow setting
status
during POST request of all objects: Jobs, JobCandidates and ResourceBookings. - This field should be optional, with the default the same like we set now.
- Update Swagger.
- Make sure, that automatic updates that depend on the status work when we are creating objects. Previously we didn't take care of it because we always created objects with the same status. I think we only have to fix it for ResourceBookings https://github.com/topcoder-platform/taas-apis/blob/dev/src/eventHandlers/ResourceBookingEventHandler.js#L134-L137