The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to set the value for a JEditor custom field in a Behaviour Initializer?

Roberto Saltini
Contributor
January 16, 2017

I am using the following code

getFieldById("customfield_11111").setFormValue("<p>Hello<p>")

to get the custom field with id "11111" to show "Hello" by using a Behaviour Initializer.

If I set the rendering option for the custom field "11111" to either plain text or wiki I can clearly see the string "<p>Hello<p>".

However, if I set the rendering engine to "JEditor" nothing is displayed by the custom field.

Am I missing something or is this some sort of bug?

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 17, 2017
Daniel Brvnišťan
Contributor
February 22, 2022

Hi Jamie,

Could you revise this stance, in light of the fact that Jira instances connected to Jira Align need to use the JEditor renderer, instead of the default Wiki renderer?

This has become quite an issue in our instance.

Thanks,
Daniel

TAGS
AUG Leaders

Atlassian Community Events