Red Hat Bugzilla – Bug 988087
[ExternalTasks] When adding new step, state is always STARTED
Last modified: 2013-09-23 03:27:20 EDT
Assume JOB_ID is ID of existing job.
POST response = step created with state STARTED
<step href="/api/jobs/JOB_ID/steps/NEW_STEP_ID" id="NEW_STEP_ID">
<link href="/api/jobs/JOB_ID/steps/NEW_STEP_ID/end" rel="end"/>
<job href="/api/jobs/JOB_ID" id="JOB_ID"/>
New step always put into STARTED state actually makes sense.
But if I omit <status> from POST request, I'll get following fault: Step [status.state] required for add
This makes <status> required in POST request but it doesn't seem to have any effect.
fixed in commit: d47a623
as RC is built, moving to ON_QA (hopefully did not catch incorrect bugs when doing this)
closing as this should be in 3.3 (doing so in bulk, so may be incorrect)