Forums

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

Structure formula to find a link-type?

Dan Giordano May 31, 2024

Can someone here offer a formula which would help me show on a Structure board if a given issue has a specific link-type?

 

In other words, if I'm looking a bunch of issues, can I add a Formula column to show which ones have a "resolves" link-type to another issue?  Would this formula be any different if I was trying to make a transformation to filter the board?

 

Thanks.

1 answer

0 votes
Stepan Kholodov _Tempo_
Community Champion
June 3, 2024

Hello @Dan Giordano 

You can use a formula like this:

issuelinks.filter($.type = "link type name").map(if $.source = this: $.destination else: $.source)

The formula will return issue keys of linked issues with a particular link type, if there is any.
The formula can be used both to show results in a column and to be used in the Attribute filter.

Best regards,
Stepan
Tempo (the Structure app vendor)

Suggest an answer

Log in or Sign up to answer