The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stepan Kholodov
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)