Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I retrieve a list of tables and fields using the REST API?



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?



2 answers

Can you explain what you mean by 'table'? Table of what?

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.

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"

If you're satisfied with the answer, can you please mark it as answered.


I think you may be looking for this...


Ignoring the software itself, it contains a list of tables using the names available from the API.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

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...

209 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you