Rich Text fields (or Rally "text" fields) display the html tags when using API queries
search cancel

Rich Text fields (or Rally "text" fields) display the html tags when using API queries

book

Article ID: 219382

calendar_today

Updated On:

Products

Rally SaaS

Issue/Introduction

I am having an issue with some of the text fields. 

I am using extractors to extract the data from Rally.  I am seeing some RALLY HTML tags when pulling the data using the API in the response of the data (for example RI72, the Courier Plan text field which is a custom one). Please see more details in the below response.

Is this the correct behavior for Rich Text fields (or Rally fields of type TEXT)?

 

Resolution

Our database stores the rich text HTML tags so our API queries will contain the HTML tags.  This is working as designed.

As a possible workaround, you might try using a string field instead.  These fields do not have HTML tags in the output unless specifically added by a user.

String
A field that accepts alphanumeric and special characters. Limited to 256 characters.
String fields can accept and display certain HTML tags.
 
Text
A field with rich text formatting options. Text fields may hold up to 32 KB of data.