Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SQL query help

nath March 30, 2015

Hi

need SQL query to get all issues associated with the Epic

Thanks,

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
petry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 30, 2015

Hey there,

With the following query, you can see all associations between Epic and Issues, where the "source" column is the Epic ID:

select * from issuelink where linktype = (select id from issuelinktype where linkname = 'Epic-Story Link');

To get the Epic ID, you can run this query:

select * from jiraissue where issuetype = (select id from issuetype where pname = 'Epic');

Hope it helps!

Andre

 

nath March 30, 2015

Thanks Andre

TAGS
AUG Leaders

Atlassian Community Events