How to configure
Go to the Administration page, choose Custom Fields link and add a SIL script custom field.
After you create the field, go to the corresponding Configure link. A page like in the image below will appear:
Click on the Edit SIL Script link to see the SIL editor.
Click on the Save button and the script is associated to the current custom field.
Now type in the SIL script a return value, for example: return priority;
Thread Local Caching
If you are not fully aware of what this implies, it is recommended that you leave the option off.
Because multiple calls to get the value of a SIL Script Custom Field for a certain issue are inevitable, we implemented an option to generate the value only once per HTTP request. This can improve performance, but might have some side effects.
For example, if the value is generated before some other values it depends on are modified, the result might not reflect latest updates.
How to use it
Go to an issue and this is how the value of the field is the value returned by the script.
That's it.