See all operations
GET: project-templates/{project_template_id}/requirements/workflows/{workflow_id}/transitions/{current_status_id}
Description
Retrieves all transitions from a given requirement status in a specified workflow
How to Execute
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/v7_0/RestService.svc/project-templates/{project_template_id}/requirements/workflows/{workflow_id}/transitions/{current_status_id}
Request Parameters
Name
|
Description
|
project_template_id
|
ProjectTemplateId of the project template which contains the relevant workflow
|
workflow_id
|
WorkflowId of the relevant workflow
|
current_status_id
|
RequirementStatusId of the status these transitions are coming from
|
Request Body
Return Data
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.v7_0.DataObjects">
<RemoteWorkflowTransition>
<ConcurrencyGuid i:nil="true" />
<Guid i:nil="true" />
<LastUpdateDate i:nil="true" />
<BlankOwner>false</BlankOwner>
<ExecuteByCreator>false</ExecuteByCreator>
<ExecuteByOwner>false</ExecuteByOwner>
<Name i:nil="true" />
<NotificationRoles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<NotificationSubject i:nil="true" />
<NotifyCreator>false</NotifyCreator>
<NotifyOwner>false</NotifyOwner>
<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>
<UserRoles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<WorkflowId>0</WorkflowId>
</RemoteWorkflowTransition>
</ArrayOfRemoteWorkflowTransition>
[{"ExecuteByCreator":false,
"ExecuteByOwner":false,
"StatusId_Input":0,
"StatusName_Input":null,
"StatusId_Output":0,
"StatusName_Output":null,
"Name":null,
"WorkflowId":0,
"TransitionId":0,
"RequireSignature":false,
"BlankOwner":false,
"NotifyCreator":false,
"NotifyOwner":false,
"NotificationSubject":null,
"UserRoles":null,
"NotificationRoles":null,
"Guid":null,
"ConcurrencyGuid":null,
"LastUpdateDate":null}]