Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×We have just upgraded to JIRA 7 and a Database Custom Field we have set up no longer works.
In context.xml we have:
<Resource name="clientlistDS"
auth="Container"
type="javax.sql.DataSource"
username="sa"
password=""
driverClassName="org.hsqldb.jdbcDriver"
url="jdbc:hsqldb:/home/jira/clientlist;create=true;" />
In /home/jira:
clientlist.script:
CREATE SCHEMA PUBLIC AUTHORIZATION DBA CREATE TEXT TABLE CLIENTLIST_TBL(ID BIGINT,CLIENTNAME VARCHAR,OWNER VARCHAR) SET TABLE CLIENTLIST_TBL SOURCE "clientlist.csv;ignore_first=true;cache_rows=0;cache_size=0" CREATE USER SA PASSWORD "" GRANT DBA TO SA SET WRITE_DELAY 20
clientlist.properties:
#HSQL Database Engine #Wed Jul 20 10:40:28 BST 2016 hsqldb.script_format=0 runtime.gc_interval=0 sql.enforce_strict_size=false hsqldb.cache_size_scale=8 readonly=false hsqldb.nio_data_file=true hsqldb.cache_scale=14 version=1.8.0 hsqldb.default_table_type=memory hsqldb.cache_file_scale=1 hsqldb.log_size=200 modified=yes hsqldb.cache_version=1.7.0 hsqldb.original_version=1.8.0 hsqldb.compatible_version=1.8.0
The Database Custom Field is configured to use Database (JNDI name) clientlistDS.
SQL Query: SELECT ID, CLIENTNAME, OWNER from CLIENTLIST_TBL
Column: CLIENTNAME
But field in JIRA GUI shows:
Error rendering 'databaseinput'. Please contact your JIRA administrators.
Hi,
It's a known issue, check this page: https://confluence.kepler-rominfo.com/display/DBCF/Database+custom+fields+don%27t+work+on+JIRA+7
Best Regards,
Alexandra
Hello
Thanks for getting back to me. I did find that page whilst googling and researching this issue.
It gives the solution for SQL Server and Postgres DBs, which is basically update the driver.
Is the same advice applicable for HSQL? Update the driver?
Rgds
Joe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know, it's the same problem: Atlassian seem to forget to update the drivers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Without some logs, it's hard to guess the cause.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.