How do I link initiatives to epics like I can link epics to stories in the Jira database?

We created a custom field called 'Parent Link' to create the hierarchy Initiative > Epic > Story and use Initiative as the parent.  However, in the jiradb.customfieldvalue table, the 'custom field' of parent link does not exist for epics I know have a parent link to an initiative in the Jira UI.  

What I want to know is, how does Jira link Epics to the custom field of 'Parent Link'?

2 answers

1 votes

You don't.  You should not be looking at the database, because the absolutely minimum actions you have to take to do this linking involves stopping JIRA and taking a full proven backup before changing it, and then re-indexing after restarting.

That's not feasible for running a system that people need to use.

Could you explain what the external system trying to do this linking is doing and maybe why you have not looked into doing it over REST?

Nic, we are not attempting to manipulate the data in the database, just query it.  We would like to generate a report with the hierarchy for each story/task/subtask from the smallest level up to its initiative.  

Right now the JQL queries we run don't return the data we need so we had to look at the database.  

As for doing it over REST, we have not looked down that route.  Would we be able to query JIRA to obtain the same data as querying the database?

0 votes
Steven Behnke Community Champion Apr 18, 2017

Parent Link is created automatically by Portfolio for JIRA. If you created the field manually, you did it wrong. It is NOT a normal Custom Field: It is a Plugin provided Field.

Steven, yes we have Portfolio which caused us to create the Parent Link field.  The frustration is that although it is not a normal 'custom field', it was created like other 'custom fields' but it does not show up as a value even when Parent Link is active on an issue.  Since we cannot find a reliable link to that field in the Jira tables or in the Portfolio tables, I reached out to here to see if anyone knows how to utilize that Parent Link field whether through the plugin's tables or Jira's.  

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,979 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot