JEditor prepopulate based on field

Kathleen Jacobs
Contributor
August 19, 2018

Is there a way to trigger a prepopulate description field with a template, based on the choice from a drop down list?

Example:

Dropdown list has options A - C.

If A is chosen, it will show template A.

If B is chosen , it will show template B. 

etc

 

Thinking right now my only option is an addon with JS.

1 answer

1 vote
Alexey Matveev
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 Leaders.
August 19, 2018

Hello,

You would need an add-on for it. For example, you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

There is a feature, called Live Fields, which will let you do what you want.

https://confluence.cprime.io/display/JJUPIN/Live+Fields

Kathleen Jacobs
Contributor
August 19, 2018

Thanks! Do you know how I would call a Jeditor Template in a script for this?

Alexey Matveev
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 Leaders.
August 20, 2018

Do you mean Jeditor from the JEditor - Rich Text Editor for Jira plugin? If so, not sure. I never worked with this plugin.

Kathleen Jacobs
Contributor
August 20, 2018

Correct.  When I reference a template, I mean a specific html setup within the description field.  

Suggest an answer

Log in or Sign up to answer