You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.