SpiraPlan: REST Web Service (v4.0)
Will retrieve available transitions for the specied status ID for the currently logged-on user.
To access this REST web service, you need to use the following URL:
https://api.inflectra.com/Spira/Services/v4_0/RestService.svc/projects/{project_id}/incidents/types/{incident_type_id}/workflow/transitions?status_id={incident_status_id}&is_detector={is_detector}&isOwner={is_owner}
Nothing Expected
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
<ArrayOfRemoteWorkflowIncidentTransition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v4_0.DataObjects"> <RemoteWorkflowIncidentTransition> <ExecuteByDetector>false</ExecuteByDetector> <ExecuteByOwner>false</ExecuteByOwner> <IncidentStatusId_Input>0</IncidentStatusId_Input> <IncidentStatusId_Output>0</IncidentStatusId_Output> <IncidentStatusName_Input i:nil="true" /> <IncidentStatusName_Output i:nil="true" /> <Name i:nil="true" /> <TransitionId>0</TransitionId> <WorkflowId>0</WorkflowId> </RemoteWorkflowIncidentTransition> </ArrayOfRemoteWorkflowIncidentTransition>
[{"ExecuteByDetector":false, "ExecuteByOwner":false, "IncidentStatusId_Input":0, "IncidentStatusId_Output":0, "IncidentStatusName_Input":null, "IncidentStatusName_Output":null, "Name":null, "TransitionId":0, "WorkflowId":0}]