Autocomplete on inputbox (SpeakEasy for Jira)

Hi!

I'm developing a speakeasy extension for Jira. It seems that the default jQuery autocomplete function is not working as it should (http://docs.jquery.com/Plugins/Autocomplete). The source option is ignored no matter what.

I would excpect to find the answer here: https://developer.atlassian.com/display/AUI

Is there a way to make an inputbox with autocomplete?

2 answers

The old jQuery autocomplete is a legacy file which will probably be removed soon; have you tried using jQuery UI autocomplete which is also provided in AUI? http://jqueryui.com/demos/autocomplete/

Yes, I've tried that. jQuery 1.8.1 is my version.

maybee I need to somehow include the autocomplete package?

The web resource "com.atlassian.auiplugin:jquery-ui-other" needs to be loaded to access jquery ui autocomplete; but I don't think this is loaded by default in JIRA. You may need to include your own copy in your speakeasy plugin, at least worth trying to see if that gets it working.

Hi! Thanks for answering :) I have seen how this can be done in a plugin. But how can this be done in SpeakEasy? I guess the JS-file must be downloaded and copied into the extension, and then required. Is it possible to download com.atlassian.auiplugin ???

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,642 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you