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