Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Database field data is not prepopulating Edited

I integrated the Oracle database script runner to get data from two fields of the external database. I created two "Database Picker" custom field. I was having trouble to configure those field. Finally, I was able to configure it, but the problem is that data is not prepopulating. I have to Type complete customer id to get customer id, same has to type the first name to get name field data. I tried MySQL, it is working fine, where data get prepopulated like a drop-down or I just type one number/alphabet and can see the rest the data. My data is in Oracle so I have to use Oracle as an external database. 

Retrieval/validation Query for customer name field "select d, name_1 from customer where id = cast(? as VARCHAR2(255))"

Search SQL query for the customer name field "select id, (case when name_2 is not null then name_3 || ' ' || name_2 || ' ' || name_1 else name_3 || ' ' || name_1 end) as Fullname from customer where name_3 = cast(? as VARCHAR2(255))"

Retrieval/validation Query for the customer id field "select id, name_1 from customer where id = cast(? as VARCHAR2(100))"

Search SQL query for the customer id field "select name_3, id from customer and id = cast(? as VARCHAR2(100))"

For clarify, name_3, name_2, and name_1 are first, middle and last name 
What I'm doing wrong, can someone please help me, thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

175 views 2 9
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