Hi,
Could some one please help me with mysql query to get list of tickets created in between last 6months with project name if possible.
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>)
SELECT i.id AS 'Issue ID',
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 = p.id
WHERE i.created > Date_sub(Now(), interval 6 month);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.