I'm querying the database (MySQL) using raw SQL. I want a report that is "time logged against each story/epic in date range"
I can get "time logged against each issue in date range" by joining worklog and jiraissue.
However, I don't know how to map an issueid to a story or epic. Where in the database is this stored, and how do I get it back?