Hi,
I have two custom fields : deferred (multi-select) and Target release (single list)
Need to write a script where value of 'deferred' field (all values of multi-select) should be less than the field value 'Target Release'
Any help would be appreciated. Thanks
Hi @Mamta Verma
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def fieldObj = customFieldManager().getCustomFieldObjectByName("FieldName")
def value_field = issue.getCustomFieldValue(fieldObj)
value_field should be a List of strings for normal select or a list of Versions for a field like Fix Versions.
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.