How do I get the Link Type direction name into a custom field?

I am trying to set up a custom field that stores the direction NAME of the link type. I am using a Groovy Scripted field since I don't see a custom field out there that does this. Basically I want a custom field to display the name of the direction of its link to another issue.

Example

Records: JIRA-1, JIRA-2 where JIRA-2 is a duplicate of JIRA-1

Link type: Duplicate (inward = "is duplicated by", Outward = "duplicates")

Custom Field: Link Type

JIRA-1 Link Type = "is duplicated by"

JIRA-2 Link Type = "duplicates"

 

5 answers

This widget could not be displayed.

What if there are multiple links, some inbound, some outbound?

This widget could not be displayed.

yeah, that is the bigger problem. I basically need what is displayed in the first column of the the Issue Links section. Any ideas would be great! Thanks for the quick response.

This widget could not be displayed.

I can''t really solve that because it depends what you are after. Maybe you could give some more context about why you want this and what you're trying to achieve.

This widget could not be displayed.

I am using the Issue Matrix plugin in Custom JQL mode to return Issue Links sorted by issue type. One thing that was not noticed originally was that the inward and outward link type (duplicates, is duplicated by, ect.) is not displayed in the way it renders the Issue Matrix field. I have submitted a couple of requests with Botron (Issue Matrix designer). As a work around in the mean time I was trying to think of a way to get the link type to display as a scripted custom field since custom fields are what is returned. Hope this makes sense and I don't think it is possible because each issue can have multiple links, but any ideas/help would be greatly appreciated.

This widget could not be displayed.

Stephen, we started working on this feature request but we don't have a solution yet. There isn't a field/column shows the link type that we can simply show. Fabricating a new column on the fly which was our plan, turned out to be too slow and not a good solution. As we come up with some ideas we will keep you posted.
You can watch the issue we use to track this similar request: https://botronsoft.atlassian.net/browse/ILV-17

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 12 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

39 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you