How can I query a JIRA database for valid values for component assigneeType field?

I'm using JIRA Server 5.1 and I'm trying to find the valid values for the component field assigneeType in the JIRA database. Any leads as to which table in the JIRA database has those values? I've searched JIRA_512_DBSchema.pdf but can't divine which table has the values.

1 answer

0 vote

Options is the table, but don't.  Jira's database is not designed to be read outside the API, and reading it with SQL is always the wrong way to do it.

What are you trying to do for your users here?

We're exporting project and issue information from our on-premises JIRA server to migrate the projects and issues to our JIRA Cloud instance. We don't have a lot of programmer expertise, but have managed to extract almost all of the information we need to migrate projects via PostgresSQL, with the exception of associationType. The ERD doesn't show the table that the information we need, though we can reverse engineer it via the query output and UI.

All I need is the name of the table hat relates the IDs from the associationtype field to the strings visible in the UI.

Good grief, that's been a massive waste of your time, there are so many faster, better and clearer ways of doing that.

But, you've gone a long way, so you may as well finish it this way.  You'll need to read customfieldoption and optionconfiguration, along with some of the tables starting with fieldconfig and fieldlayout

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,196 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot