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

SQL query for extracting all issue types from DB


Can someone help me to get a SQA query for extracting all issue types from JIRA DB pls. I want to know how many total issue types are there in server.




3 answers

0 votes
Guilhem Dupuy Community Leader Dec 08, 2020


As a mater of fact, you can't extract all issue types from a JQL query.

However, you can extract all issues from your Jira instance, and then using Excel to analyse the obtained file

0 votes

Best solution is to go to Admin -> Issues -> Issue types and read the page.

With SQL, you're going to have to faff around joining tables and you shouldn't really have any access to the database at all if you're looking after it properly.

Hi @Nirmalya Mohapatra 


For informational purposes,


select pname from issuetype 

would give all issue type names


select count(*) from issuetype would give you count


Hope this helps


Chander Inguva

Suggest an answer

Log in or Sign up to answer

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