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

MySql query to get list of tickets created in project in jira


Could some one please help me with mysql query to get list of tickets created in between last 6months with project name if possible.



2 answers

1 accepted

0 votes
Answer accepted
DPK J Community Leader Sep 13, 2019

Here is your query that prints issue id, issue number, project key and project name (please note that visible issue key that we see is combination of project key and issue number, i.e. <PROJECT_KEY>-<ISSUE_NUMBER>)

i.issuenum AS 'Issue Number',
p.pkey AS 'Project Key',
p.pname AS 'Project Name'
FROM jiraissue i
left join project p
ON i.project =
WHERE i.created > Date_sub(Now(), interval 6 month);

Thanks! This is something I was looking for.

Hi @Neeta Dubey 


Everythin what you need you can find in jiraissue table. Project id/name/key you will find in project table.

Knowing both tables in database you can easily create proper select query to find issues.




Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

365 views 1 3
Join discussion

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