Hi @John Diz ,
Can you please try below script for Resolution field in behaviours.
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 == "Issue Created") { issueLinkType.setHidden(false) issueLinkType.setRequired(true) getFieldById("issuelinks-linktype").setFormValue("relates to") getFieldById('issuelinks-linktype').setReadOnly(true) issueLinkIssue.setRequired(true) } else { issueLinkType.setRequired(false) issueLinkType.setHidden(true) }
Thanks,
Avinash
The snippet works fine, but it doesn't stop you from submitting on the Resolve screen without the Issue ID!! How can we ensure that the issue ID is entered???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.