Linked issue association

Troy Chaplin July 10, 2021

When creating "Issue Type A" the user has the option to link it to another issue. I want this issue to be linked in a specific way, for example "Relates to".

Not sure if this is possible or not, has anyone found a way to restrict the way a specific issue type can be associated as a linked issue?

I am looking to do this for 2 reasons:

  • Workflow post functions based on how an issue is linked
  • The main issue has 2-3 different issue types linked to them and I want to be specific in the way they are linked

2 answers

1 accepted

3 votes
Answer accepted
Nic Brough -Adaptavist-
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.
July 10, 2021

No, there's no way to limit the types available.

It's not as simple as it sounds either - it would not be too hard to limit the choice of outgoing links, but it would be a nightmare to limit the incoming ones, as well as completely user unfriendly

Troy Chaplin July 10, 2021

Thanks for the info. It's unfortunate, but not surprising. Maybe there's a way via automation or a post function or condition to make it required, or change it should the user not use "Relates to" on specific issue types.

bmccoy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 13, 2021

Hi,

Its not the best solution, but Automation does allow you to create a new issue link of the correct type, then delete the old issue link.

The rule would look something like: 

Project automation - Code Barrel JIRA 2021-07-14 16-05-59.png

You may need to play around with which direction the link types go.

I'm not sure if a workflow condition exists - that would be a cleaner solution.

Cheers,
Brydie

0 votes
Troy Chaplin
Contributor
July 14, 2021

My solution for this was to use a small amount of javascript that loads on the issue type create screen that set the "Relates To" as the default in the select list. I'm trying not to be heavy handed and modify the output of the list by removing items.

For adding javascript I am using the Message Fields addon, and am also adding a notice on create based on this issue type.

Suggest an answer

Log in or Sign up to answer