Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,325
Community Members
 
Community Events
168
Community Groups

Behaviour: setFormValue for Description in a JEditor-rendered-description field

Hi there,

 

I am trying to create a behaviour, that on a create screen prefills the description-field with a template (preferrably html) in relation to the selection in a dropdown-field.

I.e.:

- when option A is chosen in the dropdown-field, template A should be loaded in the description-field (in the create screen, to be able to edit the description before creating the issue. In fact, this should be a checklist to input the required information before creating the issue). 

- when option B is chosen, template B should be loaded

 

I already achieved this in a description field with  the default text renderer, but this renderer cannot handle html. We normally use JEditor for our text fields, but it seems, the addon does not render the html-code when using this script, so it does not work with a JEditor-rendered-description-field.

 

Any ideas?

 

Thanks,

 

Kevin. 

 

2 answers

You can try enabling this module in JEditor: "Allow 3rd party scripts/add-ons to update JEditor-rendered textareas"

 

Regards,

 

Kevin.

@Kevin Dekan 

Thanks for your reply. I have enable the module but it still doesnt seem to work. Any other suggestions?

@Kevin Dekan I am even looking for the same solution. Did you get any progress on the same?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

208 views 1 6
Read article

Atlassian Community Events