Hi All,
I need help to list all of the issues details on jira by issue type in mysql query including customfields.
Anyone have experienced this? Please help me by giving some example.
I would like to display customfield option value. For example I have a few custom field such as Type, Contract, Source and Category. How to display these all including basic from jiraissue table?
I have my own dummy sql statement but I dont know how to include the customfields.
SELECT jiraissue.id,jiraissue.pkey,project.pname AS project,jiraissue.summary,issuetype.pname AS issuetype,
issuestatus.pname AS status,jiraissue.assignee,jiraissue.reporter,jiraissue.created,
jiraissue.resolutiondate,jiraissue.duedate,jiraissue.description,customfieldvalue.customfield,
customfieldoption.customvalue, customfield.cfname
FROM jiraissue,project,issuetype,resolution,issuestatus,customfieldvalue,customfield,customfieldoption
WHERE jiraissue.project=project.ID AND jiraissue.issuetype=issuetype.ID
AND jiraissue.resolution=resolution.ID AND jiraissue.issuestatus=issuestatus.ID
AND jiraissue.issuetype IN (43,40,37,39)
Thank you.