Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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?

Suggest an answer

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

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

81 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you