I intended to use the same single groovy script for several scripted custom fields, expecting the script to 'know' somehow for which field it was called and do its calculations based on this information. Very much like the unix program can have several names and behave differently depending on how it was called. But I could not find how to know this since all I see in bindings are componentManager, issue, context, log, out, and stuff like enableCache, getCustomFieldvalue, no anything that could lead to the custom field ID being evaluated.
Jamie, how can I find it?
Doesn't seem to be in the binding but I agree it should be.
I created https://jamieechlin.atlassian.net/browse/GRV-457, it will be in the next release.
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.