Target custom scripted field name or id information?

Oleksii Gnatkevych June 5, 2014

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?

1 answer

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2014

Doesn't seem to be in the binding but I agree it should be.

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 7, 2014

I created https://jamieechlin.atlassian.net/browse/GRV-457, it will be in the next release.

Suggest an answer

Log in or Sign up to answer