The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Tomas Arguinzones Yahoo
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events