<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Multiselect list values displaying in custom (Thread)</title><description> Hello,  I have been trying to modify a custom report which throws an error due to a multiselect list custom propery from test runs and have encountered a similar issue as described in the forum below:   https://www.inflectra.com/Support/Forum/spirateam/reports/2265.aspx   Ive reviewed the KB that was linked in the responses to the forum ( https://www.inflectra.com/Support/KnowledgeBase/KB638.aspx ) and have attempted to include the join and the  Contains, EndsWith and StartsWith  set of functions to the report query. The report is no longer throwing the error when generated, however it is only displaying the first value when multiple values are selected. The KB seems to describe creating a graph and Im wondering if since Im updating a report instead does the XSLT template require a modification as well to allow these values to display separated by commas?  Here is the original query that was causing errors due to the custom property being a multiselect list:  --pulling in the Environment information from the LOV left join (select             SubC.CUSTOM_PROPERTY_VALUE_ID,         SubC.NAME from SpiraTestEntities.R_CustomListValues as SubC where SubC.PROJECT_ID = ${ProjectId} and SubC.IS_DELETED = False) as CB on  CAST(R.CUST_02 as INT32) = CB.CUSTOM_PROPERTY_VALUE_ID  Here is what it was updated to:  --pulling in the Environment information from the LOV left join (select             SubC.CUSTOM_PROPERTY_VALUE_ID,         SubC.NAME from SpiraTestEntities.R_CustomListValues as SubC where SubC.PROJECT_ID = ${ProjectId} and SubC.IS_DELETED = False) as CB  on Contains(R.CUST_02, Concat(Concat(0, CAST(CB.CUSTOM_PROPERTY_VALUE_ID as Edm.String)), ,)) or EndsWith(R.CUST_02, Concat(0, CAST(CB.CUSTOM_PROPERTY_VALUE_ID as Edm.String))) or StartsWith(R.CUST_02, CAST(CB.CUSTOM_PROPERTY_VALUE_ID as Edm.String))  Also the XML code for the XSLT template for the value:            Environment                                   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/3158.aspx</link><item><guid isPermaLink="false">threadId=3158</guid><author>Megan Robbins (megan.robbins@celerion.com)</author><title>Multiselect list values displaying in custom</title><description> Hello,  I have been trying to modify a custom report which throws an error due to a multiselect list custom propery from test runs and have encountered a similar issue as described in the forum below:   https://www.inflectra.com/Support/Forum/spirateam/reports/2265.aspx   Ive reviewed the KB that was linked in the responses to the forum ( https://www.inflectra.com/Support/KnowledgeBase/KB638.aspx ) and have attempted to include the join and the  Contains, EndsWith and StartsWith  set of functions to the report query. The report is no longer throwing the error when generated, however it is only displaying the first value when multiple values are selected. The KB seems to describe creating a graph and Im wondering if since Im updating a report instead does the XSLT template require a modification as well to allow these values to display separated by commas?  Here is the original query that was causing errors due to the custom property being a multiselect list:  --pulling in the Environment information from the LOV left join (select             SubC.CUSTOM_PROPERTY_VALUE_ID,         SubC.NAME from SpiraTestEntities.R_CustomListValues as SubC where SubC.PROJECT_ID = ${ProjectId} and SubC.IS_DELETED = False) as CB on  CAST(R.CUST_02 as INT32) = CB.CUSTOM_PROPERTY_VALUE_ID  Here is what it was updated to:  --pulling in the Environment information from the LOV left join (select             SubC.CUSTOM_PROPERTY_VALUE_ID,         SubC.NAME from SpiraTestEntities.R_CustomListValues as SubC where SubC.PROJECT_ID = ${ProjectId} and SubC.IS_DELETED = False) as CB  on Contains(R.CUST_02, Concat(Concat(0, CAST(CB.CUSTOM_PROPERTY_VALUE_ID as Edm.String)), ,)) or EndsWith(R.CUST_02, Concat(0, CAST(CB.CUSTOM_PROPERTY_VALUE_ID as Edm.String))) or StartsWith(R.CUST_02, CAST(CB.CUSTOM_PROPERTY_VALUE_ID as Edm.String))  Also the XML code for the XSLT template for the value:            Environment                                   Thank you. </description><pubDate>Fri, 16 Jan 2026 04:14:00 -0500</pubDate><a10:updated>2026-04-15T09:56:19-04:00</a10:updated><link>/Support/Forum/spirateam/reports/3158.aspx</link></item><item><guid isPermaLink="false">messageId=7524</guid><author>Victoria D (nino.diasamidze@inflectra.com)</author><title> Hello,  Please check article  KB726 - How to get the names of Custom List values instead of their I</title><description> Hello,  Please check article  KB726 - How to get the names of Custom List values instead of their IDs  as it describes how to use JOIN with multiselect lists.  I do not think XSLT requires a specific modification, it is more important for you to see the output in the preview first.  Let us know if that helped.     Regards, Victoria -    </description><pubDate>Fri, 16 Jan 2026 10:46:41 -0500</pubDate><a10:updated>2026-01-16T10:46:41-05:00</a10:updated><link>/Support/Forum/spirateam/reports/3158.aspx#reply7524</link></item><item><guid isPermaLink="false">messageId=7525</guid><author>Megan Robbins (megan.robbins@celerion.com)</author><title> Hello,  Im able to successfully display only the first value that was selected from the test run mu</title><description> Hello,  Im able to successfully display only the first value that was selected from the test run multiselect custom property which uses a global custom list however additional values that are selected for the single multiselect list are not displaying in the report after using the  Contains, EndsWith and StartsWith  set of functions to the report query .   Using the example from the KB linked in your response, if the project titled Billing System were to have two or more options selected for a single custom property such as having both Cat and Dog selected for the Pets custom property, would the query require additional modification to allow all of the options selected for the single custom property to display in the report?  Thank you. </description><pubDate>Mon, 19 Jan 2026 02:02:31 -0500</pubDate><a10:updated>2026-01-19T02:02:31-05:00</a10:updated><link>/Support/Forum/spirateam/reports/3158.aspx#reply7525</link></item><item><guid isPermaLink="false">messageId=7526</guid><author>Victoria D (nino.diasamidze@inflectra.com)</author><title> Hello,  As described in  KB726 , to display all the values (not only first), you need to use UNION </title><description> Hello,  As described in  KB726 , to display all the values (not only first), you need to use UNION function to get the rest if the properties displayed. If youre using SpiraPlan, then you can also check the article  KB727 - Extracting Custom List value names using OData .  In case youre still not able to get the values as desired, please share the full query so we can check exactly what you see.     Regards, Victoria - </description><pubDate>Tue, 20 Jan 2026 09:39:32 -0500</pubDate><a10:updated>2026-01-20T09:39:32-05:00</a10:updated><link>/Support/Forum/spirateam/reports/3158.aspx#reply7526</link></item><item><guid isPermaLink="false">messageId=7597</guid><author>James Rivera (James271Rivera@outlook.com)</author><title> Hello!  Youre on the right track: the SQL join logic you added ensures the report query doesnt erro</title><description> Hello!  Youre on the right track: the SQL join logic you added ensures the report query doesnt error out with multiselect custom properties, but the reason you only see the first value is that the reports XSLT template is still expecting a single string. In SpiraTeam, multiselect custom properties are stored as a comma‑separated list of IDs, and when you join to the LOV table youll only match one at a time unless you aggregate. </description><pubDate>Wed, 15 Apr 2026 09:56:19 -0400</pubDate><a10:updated>2026-04-15T09:56:19-04:00</a10:updated><link>/Support/Forum/spirateam/reports/3158.aspx#reply7597</link></item></channel></rss>