Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

autocomplete does not work for database cutom field

ShamhoonJ April 8, 2013

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

0 votes
Answer accepted
ShamhoonJ April 9, 2013

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

0 votes
Alexandru_Iacob
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.
April 8, 2013

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?

0 votes
ShamhoonJ April 8, 2013

Which logs can I check?

0 votes
ShamhoonJ April 8, 2013

The external database is oracle and jira is sql

0 votes
Alexandru_Iacob
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.
April 8, 2013

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.

0 votes
ShamhoonJ April 8, 2013

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

0 votes
ShamhoonJ April 8, 2013

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.



0 votes
Alexandru_Iacob
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.
April 8, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events