Hello everyone,
Does we have autocomplete input fields in Jira Server like the ones in Confluence server, shown in the documentation bellow. I need to implements these fields with autocompletion in my jira plugin server.
https://developer.atlassian.com/server/confluence/javascript-components/
Thank you
Hi,
You don't directly have autocomplete fields for specific data, but you should be able to wire any select to a rest end point of your choice using AUI Select or AUI select2
Thank you for the answer, I solve it in that way, but I have another question here.
Why the selection part of the IssuePicker.jspa doesnt't work.
For example, the user selection from UserPickerBrowser.jspa works and populate the field with the username, but the selection from IssuePicker.jspa doesn't populate the field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you be more specific ? Are you trying to replicate code you've seen in Jira's code base ?
Could you post the code in question ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am writing a jira server plugin and I implement the issue-picker and user-picker field like shown bellow.
The fields are shown, the popups also, but the selection part of the IssuePicker.jspa popup doesn't work.
For example, the user selection from UserPickerBrowser.jspa works and populate the field with the username, but the selection from IssuePicker.jspa doesn't populate the field with the selected issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the late reply, I did get the notification.
If I understand correctly, the value is not stored for the field after the form is submitted, right ?
If so, in your code example, your input is not related to a customfield id and therefore Jira cannot know which field this value is associated with. The name attribute of your input need to be the id of a field. For a customfield it is in the this kind of format : customfield_xxxxx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.