autocomplete does not work for database cutom field

Hi,

I have a custom field which has the sql query connecting to external db, when I have Select list it works but when I have auto complete it does not work.

I have both Multiple values and Any values unchecked.

What needs to be done to get this working?

Thanks

8 answers

1 accepted

Jira was upgraded and the context.xml file was overwritten, once I restored the context.xml file it works.

Hi,

What databasecf and Jira version are you using and on what browser?

Do you have any errors in the log?

Please give us some more details regarding the field's configuration. Do you have dynamic parameters in the sql query? does the field have any children defined?

Regards,

Alex

Jira Version - v5.2.10#853-sha1:c0ba268

I have two text custom field Biz App and Biz App iD.

I am using the following query

select NAME,BIZ_APP_ID from aradmin.MVFRWD_BUSINESSAPPLICATION_DET where TECH_OWNING_GROUP_OWNER_ID = 'fosbret'

the name is set in BIZ APP field and the ID is set in the child field.

This works fine when I have the BIZ APP filed set as Select List but when I change to Auto Complete it does not list .

I am using Chrome.



I have behavior plugin installed, will this intefere with Kepler.

You can try to temporarly disable the behavior plugin to see if this is causing the problem.

I tested on jira 5.2.10 and Chrome a similar query on database cf 2.1.10 and the autocomplete suggestions are retrieved correctly. What database are you using?

Please check if you have any errors in the log.

The external database is oracle and jira is sql

Which logs can I check?

You can check the atlassian-jira.log file from your Jira home folder for errors.

You should also activate logging with level DEBUG for databasecf to see detailed informations.

You will find informations about configuring logging for Kepler plugins here:

http://confluence.kepler-rominfo.com/display/JJUPIN/Configure+JIRA+Logging

Have you tried disabling the behaviour plugin to see if it interferes with the databasecf autocomplete feature?

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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

158 views 0 4
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