Check the scripts out below to find how to create dynamic content depending other field's values with Behaviours.
A behaviour defines how fields behave for issues in a given project or issue context. When a field's value change, such as a single select field value, a change in another's related field value can be done.