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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 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