Updating TFS workItem has an error

We have a step which in final builder where we

1) Query for TFS work items and store them in a variable %TFSWorkItems%
{System.Id} - {System.Title}

2) Send an EMail before updating all the work items using the variable %TFSWorkItems% which has the list of workitems.

We have encountered an error when we have % in the title field of TFS work items. Is there a work around for this?

Also can you redirect me to some link or document where i can find some syntax examples how i can format my mail i.e may be a line break or new line for each issue.

thanks in advance

Hi Jody,

> We have encountered an error when we have % in the title field of TFS work items. Is there a work around for this?

You’ll need to disable recursive variable expansion for the %TFSWorkItems% variable, you can do this by specifying the variable as %!TFSWorkItems% in the email action. See https://www.finalbuilder.com/finalbuilder/Help/HTML/escaping_variable_contents.htm for more information.

With the formatting, you should be able to use a combination of a ‘List Iterator’ and ‘Append to Variable’ actions to iterate through the list of issues and append them as a formatted list. If you get stuck, send in an example list of work items and a description of how you’d like them formatted and we should be able to work something out.

Regards,
Paul.