<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Filtering Custom report by Release (Thread)</title><description> So there is a note underneath the SQL section of the Custom Section form that says:  For report sections that can be filtered by release, use tokens ${ReleaseId} to filter by the specified release, or ${ReleaseAndChildIds} to filter by a comma-separated list of the release and child sprints/phases.  When I add an additional filter into my SQL:  AND RQ.RELEASE_ID=${ReleaseId}  Then it works correctly for the times when Release is selected. But when I select Release ---ALL--- value it doesnt work and no results are displayed.  What is passed to the query when Release=ALL is selected and how should I account for the selection in my SQL?  Thank you! </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/reports/2263.aspx</link><item><guid isPermaLink="false">threadId=2263</guid><author>Alex Soloviev (alex.soloviev@celerion.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">custom report</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> filter</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> release</category><title>Filtering Custom report by Release</title><description> So there is a note underneath the SQL section of the Custom Section form that says:  For report sections that can be filtered by release, use tokens ${ReleaseId} to filter by the specified release, or ${ReleaseAndChildIds} to filter by a comma-separated list of the release and child sprints/phases.  When I add an additional filter into my SQL:  AND RQ.RELEASE_ID=${ReleaseId}  Then it works correctly for the times when Release is selected. But when I select Release ---ALL--- value it doesnt work and no results are displayed.  What is passed to the query when Release=ALL is selected and how should I account for the selection in my SQL?  Thank you! </description><pubDate>Mon, 07 Dec 2020 22:40:24 -0500</pubDate><a10:updated>2020-12-08T16:53:05-05:00</a10:updated><link>/Support/Forum/spirateam/reports/2263.aspx</link></item><item><guid isPermaLink="false">messageId=3893</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> The problem is that if you have no release selected, it returns back -1 which wont match any releas</title><description> The problem is that if you have no release selected, it returns back -1 which wont match any release.  It is usually better to use:   AND RQ.RELEASE_ID IN {${ReleaseAndChildIds}}   that way it will return a comma-separated list of releases (and child sprints) if a release is selected, or all the releases, if --all releases-- is selected. </description><pubDate>Tue, 08 Dec 2020 02:31:34 -0500</pubDate><a10:updated>2020-12-08T02:31:34-05:00</a10:updated><link>/Support/Forum/spirateam/reports/2263.aspx#reply3893</link></item><item><guid isPermaLink="false">messageId=3894</guid><author>Alex Soloviev (alex.soloviev@celerion.com)</author><title> Thank you David! </title><description> Thank you David! </description><pubDate>Tue, 08 Dec 2020 16:53:05 -0500</pubDate><a10:updated>2020-12-08T16:53:05-05:00</a10:updated><link>/Support/Forum/spirateam/reports/2263.aspx#reply3894</link></item></channel></rss>