Skip Navigation LinksHome Page > Forums > Integrations & Plug-Ins > Bug Tracker Data-Sync Int... > Is there a way to do a tr...
After a new incident was created within SpiraTeam a third party tool has to tell SpiraTeam via REST to change the status within the defined workflow from new to e. g. in progress.
I checked the documentation but didn't find any function that looked like Transition/Execute.
If this is possible, which REST function has to be called?
Thanks in advance.
Raul
Hi RaulYou can update the status of an incident using the REST API.You don't need to actually send a transition, you just update the IncidentStatusId with the destination status. That means you just use the standard Incident PUT command with the appropriate status.To get the list of transitions and matching output statuses, you can use the http://api.inflectra.com/Spira/Services/v4_0/RestServiceOperation.aspx?uri=projects%2f{project_id}%2fincidents%2ftypes%2f{incident_type_id}%2fworkflow%2ftransitions%3fstatus_id%3d{incident_status_id}%26is_detector%3d{is_detector}%26isOwner%3d{is_owner}&method=GET callRegardsAdam
And if you have any questions, please email or call us at +1 (202) 558-6885