Autocomplete on inputbox (SpeakEasy for Jira)

TomasZ June 26, 2012

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

1 vote
BenA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2012

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/

0 votes
TomasZ June 26, 2012

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

maybee I need to somehow include the autocomplete package?

BenA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2012

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.

TomasZ July 21, 2012

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