Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,288
Community Members
 
Community Events
184
Community Groups

Problems with double 'relates to' issue link when addressing through linkedIssues("relates to")

Linking issues through a link type "relates to" is ambiguous in Jira. Since there are two "relates to"'s, it is not possible to address related issues using Nunjacks code:

{% set links = issue | linkedIssues("relates to")  %}

 

Two "relates to"'s are visible in the field "Link Type" in creating or editing Post Functions in Workflow administration.

Is it possible to merge these links into one or at least rename one of the "relates to", so that the above code addresses the correct issues?

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 06, 2018

I suspect there is only one link here.  Links in Jira are vectors, so you can form a sentence like "issue X depends on issue Y" and "Issue Y is depended on by issue X" - that is the same link, but directional.

Off the shelf, Jira ships with one link type which has the same label on both directions, so "X relates to Y" comes out as "Y relates to X" when looked at from the other end.

There's no "merge" you can do here, the two "relates to" are already the same link type.

But you can put different labels on them, or even remove the link type.   Even something as simple as extra spaces or different capitalisation should allow your Nunjacks to uniquely identify one.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events