Hi,
In JIRA, how can i create user picker autocomplete field using "customfield-searcher" or any best way to create userpicker in velocity template ?
Any stuff or documentation will helpful.
Thank You
Community moderators have prevented the ability to post new answers.
Hi Guys,
How can i use "customfield-searcher" for User picker in my velocity template. I am using webwork module which uses this velocity template.
Can any one give me some documentation or stuff which shows me best ways to use "User picker" field into velcoity template ?
Take a look at this: https://github.com/rdumitriu/jira-rewards/blob/master/src/main/resources/soy/forms.soy
there's a simple select with class="single-user-picker js-default-user-picker" that should be automatically picked up by some JIRA javascript on page load. You might need to require as web resource jira-webresource:user-pickers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which plugin module are you using ?
You can pass all users in velocity then display them as options of a select list ...
<select name="upicker" id="upicker" class="select"> #foreach($user in $allUsers ) <option value="$user">$user</option> #end </select>
You will need to write some javascript which can render the values in an autocomplete way .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your comments. Is there any REST service available which can be directly use with AJAX autocomplete jquery OR achieve autocomplete user field as provided in JIRA ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.