SpiraPlan: REST Web Service (v5.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 (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/Spira/Services/v5_0/RestService.svc/projects/{project_id}/tasks/types/{task_type_id}/workflow/transitions?status_id={task_status_id}&is_creator={is_creator}&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.
<ArrayOfRemoteWorkflowTransition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v5_0.DataObjects"> <RemoteWorkflowTransition> <ExecuteByCreator>false</ExecuteByCreator> <ExecuteByOwner>false</ExecuteByOwner> <Name i:nil="true" /> <RequireSignature>false</RequireSignature> <StatusId_Input>0</StatusId_Input> <StatusId_Output>0</StatusId_Output> <StatusName_Input i:nil="true" /> <StatusName_Output i:nil="true" /> <TransitionId>0</TransitionId> <WorkflowId>0</WorkflowId> </RemoteWorkflowTransition> </ArrayOfRemoteWorkflowTransition>
[{"ExecuteByCreator":false, "ExecuteByOwner":false, "Name":null, "RequireSignature":false, "StatusId_Input":0, "StatusId_Output":0, "StatusName_Input":null, "StatusName_Output":null, "TransitionId":0, "WorkflowId":0}]