Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,463
Community Members
 
Community Events
165
Community Groups

Autocomplete input field - Jira plugin development

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

2 answers

1 accepted

0 votes
Answer accepted

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?

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 ?

I am writing a jira server plugin and I implement the issue-picker and user-picker field like shown bellow.

Screenshot_36.png

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

187 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you