Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get 'epic Link' through SQL Query

Veera rdy March 15, 2018

Hello,

I'm using the following query to get the custom field values:

select *
from jira_app.CustomFieldValue cfv
join jira_app.CustomField CF on CF.Id = CFV.CustomField
join jira_app.jiraissue issue on issue.id = cfv.issue
join jira_app.project project on issue.PROJECT = project.id
where cf.ID = '101111'

Since epic link is also a custom field, I'm using the same query replacing the id of the CF with the Id of the epic link, it doesn't give any results.

 

How do I get the epic link for a Story?

Please advice.

 

Thanks.

1 answer

1 accepted

2 votes
Answer accepted
Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2018

Hi Veera,

This question has been answered in this similar post; Where are "Epic link" records stored in JiraDB?. The data is stored in the issuelink table.

 

I hope that this helps.

Best Regards, 
Mogavenasan

Veera rdy March 27, 2018

Thank you.

Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

No worries! Happy to help! :)

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events