I'm trying to create a listener script that will listen for fixVersions field update, and will copy its new value into a custom field.
Does anyone done such a script and can share it?
I am failing at the retrieval of the fixVersions value:
def fixVersionsChange = changelog?.items.find { it['field'] == 'fixVersions' }
logger.info("fixVersions value is: {}", fixVersionsChange)
Running the above, results with:
2019-07-30 16:38:14.514 INFO - fixVersions value is: null
The above script is working well on custom fields.
Any ideas?