Establish hierarchies based on parent links

Hi,
We are trying to develop a hierarchy in EazyBi based on parent links, however we cannot get it working. When we run the last query in EazyBI no hierarchy is developed (based on no hierachies when applying issue type dimension). Hope that you can help.

We have the below hierachies in JIRA connected via parent links:

SAFe epic (portfolio)
SAFe capability (large solution)
SAFe feature (porgram)
Story

We have done it via the two steps mentioned in EazyBI documentation - https://docs.eazybi.com/display/EAZYBIJIRA/Additional+Issue+hierarchies:

1. Created custom field in JIRA
Created a custom field in JIRA with the name “Initiative” and under description we have included below query (Instead of NNNNN we have included the issue ID for parent link (17003) which we found as the last digit in the browser link when clicking on parent link in custome fields in JIRA).

if (issue.get(“customfield_17003”) != null) {
return issue.get(“customfield_17003”).getKey();
}
else {
return “”;
}
–>

2. Added custom field definition and hierachy difinition to advanced settings in EazyBI
27700 is referring to the last digits in the browser line when cliking on the initative customfield in JIRA and then we included the name of the levels.
We are assuming that the problems lies in the statements with “key”. We have just written “key”, but perhaps a value should be included here instead?

#Precalculated custom field with Parent link key or Jira Portfolio Parent link field
[jira.customfield_27700]
data_type = “string”
check_calculated_value = true
update_from_issue_key = “SAFe EPIC (Portfolio)_key”

[[jira.issue_hierarchies]]
name = “Initiative”
all_member_name = “All Issues by Initiative”
levels = [
{name=“Initiative”,key_column=“customfield_27700”,issue_type=“Initiative”},
{name=“SAFe EPIC (Portfolio)”,key_column=“SAFe EPIC (Portfolio)_key”},
{name=“SAFe Capability (Large Solution)”,key_column=“SAFe Capability (Large Solution)_key”},
{name=“SAFe Feature (Program)”,key_column=“SAFe Feature (Program)_key”},
{name=“Story”,key_column=“Story_key”}
]

Also tried below query instead, also without any luck:

#Precalculated custom field with Parent link key or Jira Portfolio Parent link field
[jira.customfield_27700]
data_type = “string”
check_calculated_value = true
update_from_issue_key = “epic_key”

[[jira.issue_hierarchies]]
name = “Initiative”
all_member_name = “All Issues by Initiative”
levels = [
{name=“Initiative”,key_column=“customfield_27700”,issue_type=“Initiative”},
{name=“Epic”,key_column=“epic_key”},
{name=“Parent”,key_column=“epic_parent_key”},
{name=“Sub-task”,key_column=“subtask_key”}
]

Hope you can help.

Br. Karoline

strong text

Hi Karoline,

In case there is more than one level above the parent, there has to be a Jira MISC field for each of the level links. See more details in the documentation of Hierarchy with several levels above standard.

You are also correct about the update_from_issue_key configuration - for each higher level, there must be key to the lower level. So for ‘SAFe epic’ Jira MISC field settings you would say that the update_from_issue_key is ‘customfield_BBBBB’ which is the Jira MISC field returning SAFe capability links.

Lauma / support@eazybi.com

Hi Lauma, apologies for resurrecting this old thread, but I couldn’t find anything more recent?

Isn’t your answer basically “we don’t support Jira portfolio”?

The effort to create additional parent->child links on top of the ‘parent link’ that Jira uses is unsustainable.

I have a structure that goes Feature -> Epic -> Story. Effort is recorded at the Story level. If I want a bar chart of how much effort has been spent on all the Features in a release, you’re telling me that I need to create additional unique links for each tier in the hierarchy?

It looks like the instructions in https://docs.eazybi.com/eazybijira/data-import/advanced-data-import-options/additional-issue-hierarchies haven’t changed. Is there a plan to properly support Jira Portfolio hierarchies?

1 Like

Hi @Alden_Spiess!

Truly, things have changed over time! Starting eazyBI version 4.6 (back in August 2018), eazyBI automatically builds the Issue dimension hierarchy based on Portfolio parent link. Please see more details here: https://docs.eazybi.com/eazybijira/data-import/data-from-jira-and-apps/advanced-roadmaps-custom-fields.

The option to build custom hierarchies also remains.

Lauma / support@eazybi.com

Thanks, that’s great! I now have the option to import Parent Link in the Add-ons tab.

But I am not seeing ‘Portfolio’ in my Issue hierarchy? We’re using Jira Cloud, and your documentation page mentions ‘limited functionality’ because the REST API is not available?

Am I missing something, or is this expected behaviour?

@Alden_Spiess,

Unfortunately, this is still true for Portfolio Cloud - the Portfolio hierarchy in eazyBI must be defined manually through advanced settings.

You may check out a few more examples in the eazyBI Community:

If you would like assistance with completing a hierarchy for Advanced roadmaps (Portfolio), please send to support@eazybi.com more information about your hierarchy (screenshot with Hierarchy levels of Advanced roadmap from Jira administration -> Manage apps -> Advanced Roadmaps for Jira -> Hierarchy configuration) and we can help you with building the hierarchy.

Lauma / support@eazybi.com

I wanted to add that eazyBI has released an option to build a Portfolio hierarchy in Jira Cloud eazyBI accounts more straightforwardly based on the Parent Link custom field, read more here: Advanced Roadmaps custom fields - eazyBI for Jira.

Lauma / support@eazybi.com