<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Experience with 'generated reports' REST API? (Thread)</title><description> For our build pipeline, Im investigating the possibility to generate Spira reports by API so a design file can be compiled as part of the release process. It seems the REST service provides an API to do this, as described in    Generated Report API   However, the documentation is a bit sketchy, and I am at lost how to use it exactly.   The generated report ID I should use is an integer, and I thought it referred to the ID of the template for the report. However, if I provide this, I get the response   The specified artifact was not found  Am I correct in thinking that this API should trigger a report generation for the given project and report template ID?  I also tried storing a generated report in Spira, which gives me a different ID for the stored report, but using this still gives the same result.  This  other API  is meant to check on the status of the report generation, but it requires a report generation GUID  Im not sure how to obtain. Im just missing a good example here... Anyone has experience using this service?             </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/spiraplan/issues-questions/2107.aspx</link><item><guid isPermaLink="false">threadId=2107</guid><author>D L (dennis.lardenoye@pie.nl)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">rest api report generation</category><title>Experience with 'generated reports' REST API?</title><description> For our build pipeline, Im investigating the possibility to generate Spira reports by API so a design file can be compiled as part of the release process. It seems the REST service provides an API to do this, as described in    Generated Report API   However, the documentation is a bit sketchy, and I am at lost how to use it exactly.   The generated report ID I should use is an integer, and I thought it referred to the ID of the template for the report. However, if I provide this, I get the response   The specified artifact was not found  Am I correct in thinking that this API should trigger a report generation for the given project and report template ID?  I also tried storing a generated report in Spira, which gives me a different ID for the stored report, but using this still gives the same result.  This  other API  is meant to check on the status of the report generation, but it requires a report generation GUID  Im not sure how to obtain. Im just missing a good example here... Anyone has experience using this service?             </description><pubDate>Fri, 08 Nov 2019 13:06:40 -0500</pubDate><a10:updated>2019-11-09T08:40:06-05:00</a10:updated><link>/Support/Forum/spiraplan/issues-questions/2107.aspx</link></item><item><guid isPermaLink="false">messageId=3676</guid><author>D L (dennis.lardenoye@pie.nl)</author><title> After a bit more searching, I found that the missing piece was the Saved Reports API which has to b</title><description> After a bit more searching, I found that the missing piece was the Saved Reports API which has to be used first (for the actual report generation)...  I store a (shared) report in Spira, then I can retrieve its ID by the reports/saved API.   However, when using this ID to actually generate the report, I get a Method not allowed page. I do have System Administrator credentials. Any thoughts on what is wrong? Or is this specific API blocked for cloud users?       </description><pubDate>Fri, 08 Nov 2019 14:12:24 -0500</pubDate><a10:updated>2019-11-08T14:12:24-05:00</a10:updated><link>/Support/Forum/spiraplan/issues-questions/2107.aspx#reply3676</link></item><item><guid isPermaLink="false">messageId=3677</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hello  This is a brand new API method that was added in v6.2.1.1, so apologies that it as not well </title><description> Hello  This is a brand new API method that was added in v6.2.1.1, so apologies that it as not well documented as some other API functions.  You should use:   POST:  projects/{project_id}/reports/saved/{saved_report_id}/generate  (to generate the saved report)  Returns an alphanumeric GUID to use with the next function    GET:  projects/{project_id}/reports/generated?report_generation_id={report_generation_id}  to check the status of the report  When it returns an integer &gt; 0 this is the ID of the generated report    GET:  projects/{project_id}/reports/generated/{generated_report_id}  to get the generated report   Please log a help desk ticket that does not work for you and wed be happy to assist further.  Regards  David </description><pubDate>Fri, 08 Nov 2019 16:47:46 -0500</pubDate><a10:updated>2019-11-08T16:47:46-05:00</a10:updated><link>/Support/Forum/spiraplan/issues-questions/2107.aspx#reply3677</link></item><item><guid isPermaLink="false">messageId=3678</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> We just added this article to provide more information:   https://www.inflectra.com/Support/Knowled</title><description> We just added this article to provide more information:   https://www.inflectra.com/Support/KnowledgeBase/KB494.aspx  </description><pubDate>Sat, 09 Nov 2019 08:40:06 -0500</pubDate><a10:updated>2019-11-09T08:40:06-05:00</a10:updated><link>/Support/Forum/spiraplan/issues-questions/2107.aspx#reply3678</link></item></channel></rss>