Structure custom column: Get value from linked issue?

c7788 I'm New Here Jan 10, 2018

Hello. In my Structure, I would like to add a column that displays a value from the task's linked issue. Is it possible to do this as a custom column in Structure?

For example:

Task A is linked to Task B via 'is a User Story for'

Task B has a custom field called 'Department' with a value of 'Research'

Task A is in my Structure. I would like to add a Department column that would show 'Research' next to Task A.


Thank you.

1 answer


Yes, this is possible if the issue is in the structure. Since version 4.3, you can use PARENT{} aggregation function to call some field from the parent. Alternatively you can select JOIN{} or SUM{} functions to pick values from children. Note that in a structure graph there is always one parent to an instance of an issue, but there can be more than one child. Thus only PARENT{} returns single value. 

Here is some documentation about aggregation functions.

If you want to reference any issues that may or may not be in the structure, but are linked to an issue in the structure, you'd have to use Script Runner custom fields, but this would require formulation of a criterion how value is selected, as there can be more than one parent as well as more than one child with the same link type in Jira.

Please, let me know if aggregation functions satisfy your requirements. And if you need a script runner field, please, let me know the criterion how you select Task B from tasks linked to Task A, and I'll see if I can provide an example of groovy script.

Egor Tasa
ALM Works Support

Suggest an answer

Log in or Join to answer
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

374 views 0 9
Read article

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