Forums

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

Structure Formula to show custom field of a linked issue

Aditya Sastry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2023

I want to create a formula field and show a custom field "Peak Calories" from a linked issue.

My hierarchy is as below

Req1

Project 1

Req 2

Project 1

Req 3

Project 1

Req 4

Project 1

Req 5

Project 2

 Requirement is Linked to Project via issue link "Project". A project can be mapped to multiple requirements and the custom field value needs to be populated against all the project.

 

My Structure shows only requirements as below and the project and peak calories are shown in columns against the requirement. I was able to show project as it is linked to the requirement via issue picker plugin but unable to pull the peak calories from the project via issue links and show in the structure against the requirement column. any help is appreciated.

 

structure.jpg

Thanks,

Aditya

1 answer

1 accepted

1 vote
Answer accepted
Stepan Kholodov _Tempo_
Community Champion
November 27, 2023

Hello @Aditya Sastry 

if you want to show the 'Peak Calories' field value of a linked Project issue type while having only Requirements in the structure, you can try a formula like this:

issuelinks.map(if $.source = this: $.destination else: $.source).peakcalories

The formula allows to extract the specific field's value from linked issues.

I hope this helps. If you need further assistance - please reach out to us directly at our support portal and we'll get back to you shortly.

Best regards,
Stepan
Tempo (the Structure app vendor)

Aditya Sastry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2023

Thanks @Stepan Kholodov _Tempo_

It works for all fields except dates. I've opened a ticket at the support portal regarding the date fields.

Like Stepan Kholodov _Tempo_ likes this

Suggest an answer

Log in or Sign up to answer