cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to put pre-formatted text into a RichtTextField?

JensN.
13-Aquamarine

How to put pre-formatted text into a RichtTextField?

Hi @all,

we want to prefill RichTextFields with formatted text. We want to do this in different ways:

1. by an Assignment-Trigger: When a certain rule is fullfilled a trigger should write some text into this field. In the trigger-config at the "assignment"-Tab we can do this, but we have no chance to format this text in any way.

2. by API or CLI. Since RichText in integrity seems to be a subset of HTML we tried to use some HTML-Tags in an editfield-command, but this doesnt work too.

Thanks,

kind regards, Jens

2 REPLIES 2
tdalon
4-Participant
(To:JensN.)

Hi Jens

for 2. which syntax are you using?

see CLI Docu on im editissue:

--richContentField=value

specifies a rich content field and its value for the new issue, where value is of the form "richcontentfieldname=fieldValue".

Note: In the korn shell command line interface, HTML tags must be surrounded by quotes, for example, "<b>Feature

Overview</b>".

In the Windows command line interface (cmd.exe), the ^ escape character must precede the < and > characters in HTML tags, for example, ^<b^>Feature Overview^</b^> .

JensN.
13-Aquamarine
(To:tdalon)

Hi Thierry,

thanks, i didnt knew this kind of escaping, i will try this...

kind regards, Jens

Top Tags