I want to have a custom template in a script field which does some calculation. Basically the script outputs the $value in seconds and I'm able to use the form "$getPrettyDuration.call($value)" (as found in the documentation). But I'd like to convert the seconds into hours, but not changing $value from seconds into hour, just for displaying.
Is there a reference what can be done in this "Custom Template" field? Is this just Groovy script? Is there more documentation available for this field?
- Version of JIRA: 7.1.9
- What version of ScriptRunner are you using? 4.3.5