Forums

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

List all issue keys within specific link in the column

Alena Fricova March 21, 2022

Hello,

I am using Structure to see my issues.

I am also using specific Links (is Predecessor of, Is Successor of)

I need to set up one Column in Structure (with JQL) in a way that it will show me all issue keys with specific link, e.g. is Predecessor, for all listed issues.

Is there a way how to write it?

Thank you,

Alena

1 answer

1 accepted

1 vote
Answer accepted
David Niro
Atlassian Partner
March 21, 2022 edited

Hello @Alena Fricova ,

David from ALM Works here. 

You should be able to accomplish this through the use of a Formula.  There is probably a nicer way of writing the formula, but the below seems to work for me. 

It looks at the current issue and the issue links.  It then filters out the one you specify (the name, not the directions) and if it's the source, returns the destination.  if it's the destination it returns the source.  

WITH _format(issue) = """[${issue.key}|${issue.url}]""" :
WITH IIB = issuelinks
.FILTER($.type = 'implements' AND $.destination = this)
.MAP(_format($.source)):
WITH IB = issuelinks
.FILTER($.type = 'implements' AND $.source = this)
.MAP(_format($.destination)):

IF(IB;IB;
IIB;IIB)

In the two spots you see 'implements' you will want to replace with the name of your issuelink.  Please give it a try and let me know if it works for you.

Best Regards,
David Niro
www.almworks.com

Jochen Berdi
Contributor
August 12, 2022

works it with issue link: parent of?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events