You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.