Jira database query on issues and board


I need to write a query that provides a Jira board name, columns in that board and all the issues associated with a board.  AO_60DB71_RAPIDVIEW  stores the Board name, AO_60DB71_COLUMN table provides the list of columns in a board and the Jira issues table provides the issues list. I'm not finding a relation between board and issue. is there a direct relation between these tables? if not what is the work around to pull this info from jira database.

Note: looking for a database query not JQL.

1 answer

0 vote

The relationship between a board and an issue is defined by

1. The JQL used on the board

2. The coded settings for the board

Your database query is, quite simply put, going to be horrid to construct and valid only once.  You'll have to replicate the JQL in SQL (they are very different things) and then apply board settings too.

I would strongly suggest that you do NOT try this with SQL.

Could you explain what you are trying to achieve instead?  There's going to be a much better way to do it than SQL.

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

189 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot