Select List Conversion related behaviour does not function the same in JSD as in Jira

Tomas Arguinzones Yahoo September 23, 2019

Hi...I configured a text field to show values from an API as in the Select List Conversions documentation. I configured the REST End Point with the corresponding behavior making sure I mapped JSD and Jira project. For the most part it works ok but when the values are shown in JSD, it is showing ALL values coming from the API instead of just the values matching the 4 characters being typed by the user. In Jira itself it works fine, the values shown are the one matching the characters being typed in the field, but it does not work that way in JSD. Is there a way to fix that?

Thank you

Here is the behavior (which is actually a copy of the one you have in the documentation):

getFieldByName("Project Names").convertToMultiSelect([
ajaxOptions: [
url : getBaseUrl() + "/rest/scriptrunner/latest/custom/getProjectNames",
query: true, // keep going back to the sever for each keystroke
minQueryLength: 4,
keyInputPeriod: 500,
formatResponse: "general",
]
])

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events