Hello,
I need to retrieve a list of the tables and fields in Jira. Am trying to use the REST API but there doesn't appear to be an option to do this. Is it possible using the API or is there another way?
Mark
I think you may be looking for this...
http://www.simba.com/products/Jira/doc/Simba_Jira_ODBC_RefrenceGuide.pdf
Ignoring the software itself, it contains a list of tables using the names available from the API.
Can you explain what you mean by 'table'? Table of what?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By table I mean the meta-data, i.e. the names of the objects that hold the Jira data records. Not sure if its possible to add custom tables in Jira but I want to be able to query on the full list including these as well as the list of field names in each table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you're out of luck. I'm not aware of the REST API providing a mechanism to interrogate or change Jira's inner database schema directly.
There is this documentation about the database schema, and this PDF that shows all the default tables by name and relationship, but all of that is abstracted from the user and the REST APIs... probably for a very good reason too. The documentation page even gives the same warning... "Direct database queries are not recommended in Jira. Instead, we recommend adding or modifying data via Jira's REST APIs"
On the topic of the REST API abstracting the database schema from the user, that page says "If you use Jira API, you will notice that a lot of code deals with GenericValue
objects. The GenericValue
is an OfBiz Entity Engine object. Each GenericValue
object represents a record in the database"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you're satisfied with the answer, can you please mark it as answered.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.