Would like to create a custom field using JIRA hierarchy reaching up 3 levels

I’m attempting to use the summary field of the parent of parent of parent of stories (Feature Bucket). We have this hierarchy defined as:

Here is my attempt that is not working:

[jira.customfield_featurebuck] name = "Feature Bucket" data_type = "string" dimension = true update_from_issue_key = "jpoh_parent_4" javascript_code = ''' if(issue.fields.summary ) { return issue.fields.summary; } '''

Nevermind. The built-in Parent dimension for my Bucket in the hierarchy works for this. Yay!

1 Like