<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Creating a Buid via REST API (Thread)</title><description> We are trying to create a build via the REST API of Spira but we are not succeeding.  We post to url: /Services/v5_0/RestService.svc/projects/1/releases/175/builds  However whatever we pass in the body we receive the following error (full trace at the bottom):  The associated release/iteration RL0 does not exist in the current project  It seems like he does not read the release id correctly. Could you have a look and let me know if this could be a bug or advice on what could be going wrong       The server encountered an error processing the request. The exception message is 'The associated release/iteration RL0 does not exist in the current project'. See server logs for more details. The exception stack trace is:  
                at Inflectra.SpiraTest.Business.BuildManager.Insert(Int32 projectId, Int32 releaseId, String name, String description, DateTime creationDate, BuildStatusEnum status, Int32 userId)
   at Inflectra.SpiraTest.Web.Services.v5_0.RestService.Build_Create(String project_id, String release_id, RemoteBuild remoteBuild)
   at SyncInvokeBuild_Create(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[] outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)      </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/2025.aspx</link><item><guid isPermaLink="false">threadId=2025</guid><author>Waudru Volders (wvol@newtec.eu)</author><title>Creating a Buid via REST API</title><description> We are trying to create a build via the REST API of Spira but we are not succeeding.  We post to url: /Services/v5_0/RestService.svc/projects/1/releases/175/builds  However whatever we pass in the body we receive the following error (full trace at the bottom):  The associated release/iteration RL0 does not exist in the current project  It seems like he does not read the release id correctly. Could you have a look and let me know if this could be a bug or advice on what could be going wrong       The server encountered an error processing the request. The exception message is 'The associated release/iteration RL0 does not exist in the current project'. See server logs for more details. The exception stack trace is:  
                at Inflectra.SpiraTest.Business.BuildManager.Insert(Int32 projectId, Int32 releaseId, String name, String description, DateTime creationDate, BuildStatusEnum status, Int32 userId)
   at Inflectra.SpiraTest.Web.Services.v5_0.RestService.Build_Create(String project_id, String release_id, RemoteBuild remoteBuild)
   at SyncInvokeBuild_Create(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[] outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)      </description><pubDate>Fri, 10 May 2019 09:16:15 -0400</pubDate><a10:updated>2019-05-12T11:20:35-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2025.aspx</link></item><item><guid isPermaLink="false">messageId=3578</guid><author>Jim R (donotreply5@kronodesk.net)</author><title> Hello  Could you please log a support ticket and  https://www.inflectra.com/Support/Ticket/List.asp</title><description> Hello  Could you please log a support ticket and  https://www.inflectra.com/Support/Ticket/List.aspx   and provide the body you are using.  The method definitely works, but it may be that the ReleaseId is not being correctly specified.  Regards  Jim </description><pubDate>Sun, 12 May 2019 11:20:35 -0400</pubDate><a10:updated>2019-05-12T11:20:35-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2025.aspx#reply3578</link></item></channel></rss>