PostgreSQL case sensitivity

Nikola Rezachev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2020

Dear support, 

 

We are developing a plugin and using Active Objects to access database. When usiung MySQL everything works as expected, however when we tested with postgreSQL we identified an issue with names of the columns and case sensitivity. 

We always use small case and for some reason column names were created with capitals. 

 

2020-08-17 11:29:31,088+0300 http-nio-1010-exec-21 admin 689x1502x1 4x3nmk /browse/POS-1 1 ms "SELECT "ASSIGNEE","GROUP_CUSTOM_FIELDS","GROUPS","ID","REPORTER","USERS","PROJECT_ID","USER_CUSTOM_FIELDS","ROLES","PROJECT_NAME","PROJECT_LEAD" FROM public."AO_31E7B8_TELEPORT_CONFIG" WHERE "project_id" = ?" {1=10000}

 

 

As you see in the example above project_id is reffered as both - small and caps which breaks our code. 

 

Why column names were created with capitals if we have defined them with small and what can we do here if we want to continue using small chars for the names of the columns. 

 

Regards,

 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 18, 2020

Hello @Nikola Rezachev

Thank you for reaching out.

Since you are asking for help integrate your plugin with Jira database using Active objects, I believe the best place to ask for help is in our Atlassian Developer Community:

https://community.developer.atlassian.com/ 

The mentioned portal was specifically created for development/plugin integration questions, where you will find articles and suggestions from other third-party partners and Atlassian developers. Feel free to open a new topic about your question there! :)

Let us know if you have any other questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.11
TAGS
AUG Leaders

Atlassian Community Events