It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Autocomplete stopped working after upgrade to JIRA 8


I have a text field which is autocomplete enabled using JS and my code looks as follows:

jQuery( function() {

jQuery('<input field>').autocomplete({
source: function( request, response ) {
jQuery.ajax( {
url: "<REST Path for getting the projects>",
dataType: "json",
data: {
"query" : request.term
success: function (data) {
response( data.projects, function ( item ) {
return {
label:' ('+item.key+')' ,
value :
select: function( event, ui ) {
jQuery('<input field>'').val(ui.item.value);
} );
} );

As is obvious, I am trying to autocomplete and list down the projects and print it in "Project name (Project key)" format.

I am getting the following error: "Uncaught TypeError: jQuery(...).autocomplete is not a function".

Pls suggest. Thank you.

0 answers

Suggest an answer

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

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

6,530 views 9 36
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