I am using the below query to get all the custom field values of my Story Jira, but I see that string value column of custom field value table has numeric values like 1276, 10400, 10423, etc for "Sprint", "K Element", "RoadMap Category" fields.
Need to lookup these values to get the corresponding text values I see on GUI
Query is as below
select cf.cfname,cfv.*
from dbo.customfield cf, dbo.customfieldvalue cfv, dbo.jiraissue task, dbo.project prj
where cf.id = cfv.customfield
and cfv.issue = task.id
and task.issuenum = '1153'
and task.project = prj.id
and prj.pkey = 'HIN';