Get all issues of board

SQL Query to show all issues tasks AND subtasks in the board

1 answer

This widget could not be displayed.
Tarun Sapra Community Champion Nov 29, 2017


Board is nothing more than a view on a set of issues. Issues on the boards are fetched from a JQL filter itself. Thus, if you go into the board configuration and see the saved filer then you can see the list of issues appearing of the Board.

If it's a scrum board and you are only interested in issues an an Sprint. Then you can use JQL like "Sprint = <value>" and this will fetch you the list of issues in that sprint.

i need specific SQL Query sir

Tarun Sapra Community Champion Nov 29, 2017

Can you please tell me your use-case? Why do you need to query directly DB when JQL provides the same functionality. 

I need data from SQLServer query as i'm generating a report to another application. I cannot do this in JQL.

For a Agile / kanban board i need to get all issues ,tasks & subtasks of that  board

Though by using JQL you can export data in CSV and almost all applications accept CSV data to be imported. But still if you want to go ahead with SQL only. Then here is a similar question

It is unresolved thread 

Yes, but it has some answers.

Please be aware that SQL is the worst possible way to do this - depending on what issue data you want, you could be trying to use 40+ joins.  Please, start with a JQL Search over the REST interface.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

223 views 3 0
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