customfield database queries


I have a customfield: "Project ID"

I want to ask external database for information basing on Project ID

How do I do this.

I have Database Custom Field plugin installed.

5 answers

This widget could not be displayed.
Rian Spivak Community Champion Apr 27, 2017

In our circumstance, we've done this and we've used the format:

select * from my_table where {customfield_10172} = 'my_value';

Where the 10172 is the id of that customfield instead of using the name.

OK, didn't realised that it works linke that. Thanks. So i guess you may change my_value to database field in external db.

This widget could not be displayed.

Hey @jan Sekara

select cfname,FIELDTYPE,DESCRIPTION from customfield where cfname ='Project ID'

Try this

to get basic details of custom field name




This widget could not be displayed.


I am using Database Custom Fields 4.0

How do I configure just displaying information based on seccond customfield?

Now I can only select from this field when editing, but I just want to display it when viewing the issue - is this possible?

This widget could not be displayed.

I have a customfield XXXX (customfield_10400)

And a table in sql like below (added for testing purposes)

Configuration of customfield on the seccond photo.

What am i doing wrong?




jira problem.PNG

This widget could not be displayed.

I want to display just one field, like the info from table but just one information, not whole table.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
Join discussion

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