Hello,
We would like to set a value in a date field, based on the sprint end date.
So if the sprint end date is 2/26/2019, that field would get this value.
Would this be possible using scriptrunner? If so, would anyone know how to do that?
Thank you!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.