Forums

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

Custom field that points on the highest parent in the structure

Ellie M_ November 23, 2021

Hi,
Being new to the groovy, I'm trying to help my colleagues simplify queries and calculations by introducing a custom, automatically populated field that would recognise the top-level issue in the structure (the parent on the highest level).

I.e. in the epic - story/bug/task - subtask, the custom field would point on epic (on epic it would indicate on itself, and epic as the highest-ranking issue type). 

I did a reading on the topic of Automation as a possible way to go (https://community.atlassian.com/t5/Jira-questions/Display-Epic-Link-on-a-subtask/qaq-p/1470212). My challenge is though, how to put the groovy code together.  Epic, of course, isn't necessarily the highest-ranking issue type which is why I'd probably need to write all combinations and permutations.

Any help would be highly appreciated.

1 answer

0 votes
Ellie M_ December 6, 2021

Hi,

Still struggling with this one. If anyone could help...

Thanks,

J.

Suggest an answer

Log in or Sign up to answer