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,297,996
Community Members
 
Community Events
165
Community Groups

Linked issue association

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

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

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 Jul 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

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
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

113 views 1 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you