Hello,I want to run a script which identifies the type of custom field and generates a report. Is this achievable using script runner?
I'm looking for a way to get the type of every custom field.
Thanks a mil.
Hello,
This code would iterate over all custom fields and log all of them with their types
import com.atlassian.jira.component.ComponentAccessordef customFields = ComponentAccessor.getCustomFieldManager().getCustomFieldObjects()customFields.each{log.error(it.getFieldName() + " " + it.getCustomFieldType().getName())}
It looks like you're new here. Sign in or register to get started.