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 votes

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

26 views 0 2
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