Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi All,
I have a text field - user id and i have created custom field type field plugin(Generic CF Type) - User Name
fetchUserNames.png
My requirement is to dynamically populate the options of a custom field User Name based on the value of a custom field User Id on click of a button Search available in the edit velocity template of User Name field.
The custom field type plugin module populates the values on time of load of the screen,but not at run time when the user id is changed and search button is clicked. The search button should call a method in Java class which returns list of String objects.
I have read the following post -https://answers.atlassian.com/questions/153603 but could not find the solution.
Thanks
Kapil
I have achieved this exposing REST service in the plugin and do an ajax call of the REST service in velocity file of that customfield
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.