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

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.

Hey @jan Sekara

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

Try this

to get basic details of custom field name





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?

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

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
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

390 views 0 9
Read article

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