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 issueif (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
It looks like you're new here. Sign in or register to get started.