How do you show a link type in a Structure column

Gerard Menezes June 13, 2018

I have written a structure and extended it to show the "dependency" and "caused" linkages at the story & epic level for a project I am working on.  I would like to be able to display the linktype in order to be able to differentiate which children are linked in the case of "depends on" or "caused by". I tried to add a column but there is no option to select the type of link. Can a structure column be customized somehow to do this?

4 answers

3 votes
Vlad Lessage
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.
June 13, 2018

Hello Gerard,

Thanks for posting!

I'm afraid there isn't any dynamic way to show the Link Type in a column right now in Structure. However, we do have an open Feature Request for this functionality. I'm unable to give you a release date at this time, but if you'd like, I can certainly ensure you do get notified when the feature becomes available. 

In the meantime, you could try Micky's suggestion. Or you could instead create different Folders within your structure and label them according to your available Link Types. You would then Insert your issues and Extend Linked Issues for each Link Type in individual Folders. It might require some initial effort and maintenance (adding new Link Types) but would allow you to identify the Link Types, as desired.

Another option would be to use a Custom Field (Select List), which would allow you to enter options for your different Link Types. You would then be able to add that Custom Field as a column to your structure and/or Group by said Custom Field to visualize Link Types. Again, I understand that setup time, maintenance and also accurate user input would be necessary for this to be successful, but figured I'd mention it. 

If you're already using a scripting add-on (such as ScriptRunner) or if you're able to get one, I might have a better alternative for you, using a Filter Transformation.

I hope this helps. Please let me know if you would like any help implementing either of the suggested workarounds or if you have any additional questions about Structure for Jira.

I can be reached directly at vlad@almworks.com or you can email our support team anytime at support@almworks.com.

Thank you for using Structure!


Best Regards,

Vlad
ALM Works

Carrie Niemiec September 24, 2018

Do you have a date for the release of this feature?

Thx,

Carrie

Like # people like this
Vlad Lessage
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.
October 2, 2018

Hi Carrie!

Sorry for the late reply.

We do not have a release date at this time. But if you email support@almworks.com, we can make sure you get notified once the feature becomes available. 

Best Regards,

Vlad

ALM Works

AB February 5, 2020

@Vlad[ALM Works] , would you have any update regarding this feature request, long pending? This would be a VERY USEFUL feature to have! 

I added more details in here.

Thank you! 

Kenny Baker November 24, 2020

@Vlad[ALM Works] 

I hope that this functionality is still being considered as it would be very useful for gantt planning.

Is this still an active feature request?

Like AB likes this
Jeffrey Lindhurst March 17, 2021

@Vlad[ALM Works]   is this feature going to be released?

Like AB likes this
Dionathan Lopes _ALM Works_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 26, 2021

Hello @Jeffrey Lindhurst , @Kenny Baker , @AB , @Carrie Niemiec , @Gerard Menezes and others.

Dionathan from ALM Works here.

With the latest version of Structure (version 7.0+) you are now able to show the Link type in a column.

Here is an example of a Formula that, if there is more than one link, you should see the results - one-by-one - separated by commas:

 

issueLinks.MAP($.source.key CONCAT ' → ' CONCAT $.type CONCAT ' → ' CONCAT $.destination.key )

For more information about Formulas, please refer to: https://wiki.almworks.com/display/structure/Formulas 

Best Regards,
Dionathan Lopes

Like Ditte Simard likes this
1 vote
miikhy
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.
June 13, 2018

Hi Gerard,

Welcome to Community!

Just tried it out and did not find a native way to do so! You can try to get a scripted field showing the information and display it in Structure but it would be pretty challenging in case you have multiple link types! In my past experience, when that kind of situation couldn't be handled with clarity for end user, we splitted that view in two structures!

Let us know if you find a way!

Cheers

0 votes
Omar Rashid October 25, 2022

Hello @Dionathan Lopes _ALM Works_ 

Is there a way for this to work with remote links? The link type is from qTest and is linked to the story with a 'links to' type . Is there a way to show if not the actual links, at least a count of those links?

Thanks!

0 votes
Benjamin Wohnhas October 18, 2022

Hello @Dionathan Lopes _ALM Works_

your formula looks very good. Is there a way that this formula can be adjusted to show all issues of a certain Linktype?

To be more precise: In my company we have defined a link type "SOLUTION TO PORTFOLIO LINK" and I would love to show in the structure for all capabilities the according Portfolio Epic via this link type.

Is this feasible to do?

Thanks a lot for any help :)

Best 

Ben

David Niro
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 25, 2022

Hello @Benjamin Wohnhas ,

You should be able to accomplish this with the FILTER function.  Like so:

issuelinks.FILTER(
$.type = "SOLUTION TO PORTFOLIO LINK"
).source.key

This will reduce the Array of Linked Issues to only the one you have defined and return the source's issue key.  

Additional detail surrounding Item Property Reference and Array Functions linked.

Hope this helps!

Best,
David

Like Ditte Simard likes this

Suggest an answer

Log in or Sign up to answer