Hi @Lacey Also
If I'm not wrong, you want to compare the field text/id which is entered during create/edit
but your current script will fetch the field value which is stored in the DB already
def CPID = customFieldManager.getCustomFieldObject("customfield_10210")
def CPIDValue = underlyingIssue?.getCustomFieldValue(CPID)
String jql = "\"Clarity Project ID\" ~ ${CPIDValue}"so you may try this script with following lines
def CPID = getFieldByID("customfield_10210").formValue
String jql = "\"Clarity Project ID\" ~ ${CPID}"
BR,
Leo
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.