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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

102 views 0 5
Read article

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