Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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
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^> .
Hi Thierry,
thanks, i didnt knew this kind of escaping, i will try this...
kind regards, Jens