Currently the "linked issues" field is global and it's getting bloated for our org with 20+ options
As an admin, I'd like to to customize the options available in the "linked issues" field per project so that my users aren't overwhelmed with the 20+ options
Hi @Yen Pham ,
With default configuration it is not possible to configure link types for individual project. If you are using linked issues fields in transition screens, you can use Behaviours from Script runner for Jira to display linked issue type values according to selected value of resolution.
Please refer below sample script for the same.
import com.atlassian.jira.issue.resolution.Resolution def resolutionField = getFieldById("resolution") def issueLinkType = getFieldById("issuelinks-linktype") def issueLinkIssue = getFieldById("issuelinks-issues") def resolution = resolutionField.getValue() as Resolution if (resolution.name == "Duplicates") { issueLinkType.setHidden(false) issueLinkType.setRequired(true) getFieldById("issuelinks-linktype").setFormValue("Duplicates to") getFieldById('issuelinks-linktype').setReadOnly(true) issueLinkIssue.setRequired(true) } else { issueLinkType.setRequired(false) issueLinkType.setHidden(true) }
Thanks,
Avinash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.