Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi everyone.
I want to know how to load ticket details when user enters the "epic link" in a story issue type in Jira administrator using ScriptRunner plugin.
Hi @Tharindu Randipa Using Scriptrunner behaviour you can fill tickets details when user enters Epic Link field value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tharindu Randipa Yes, for this you need to add Server side script for Epic Link field in Behaviour.
Sample Script :-
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue
import com.atlassian.jira.issue.IssueManager
@BaseScript FieldBehaviours behaviours
def epicLink = getFieldById(fieldChanged)
def epicLinkValue = epicLink.value as String
def summary = getFieldById("summary")
if (epicLinkValue) {
if (epicLinkValue.split(':').last() == 'VTPC-20') {
summary.setFormValue("Default Value")
}
}
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.