Hi,
We are using the Jira Cloud scriptRunner custom fields.
if issue type is release approval then i need to get the lined issue outwardIssue summary.
Thanks
def linkedIssueSummary
// Check if the issue is an Epic issue
if (issue?.fields?.issuetype?.name == "Release Approval") {
issue.fields.issuelinks.each{ issueLink ->
if(issueLink?.type?.name == "Approval"){
linkedIssueSummary = issueLink?.outwardIssue?.fields?.summary
}
}
}
if(!linkedIssueSummary){
linkedIssueSummary = issue?.fields?.summary
}
return linkedIssueSummary
You can try with something like above script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.