Is it possible to convert the Jira software project summary field to a dropdown with predefined options? We have a purchasing project, we would like to have the standard name in the summary field. for example, whenever a user types something it should display possible options that the user can choose. Like when the user type "Windows" it should display all option that contains windows, for example, Windows Operating System, Windows Licensing, etc. Our goal is to map each summary with a code that can be displayed in a custom field. But that'll be the second step. First, we would like to have the Summary dropdown but all options that we have for users. If it was one option I could easily add it by using the setFormValue command but there will be more values and we don't have any default value, the values should populate when the user starts typing. Is it doable?
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.customfields.manager.OptionsManager
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
@BaseScript FieldBehaviours fieldBehaviours
def summary = getFieldById("summary")
summary.value(["Windows Licensing","Application Training","Lenovo Laptops"])
Thank you for your help.