...
To control the final data view, the Template tab provides a Handlebars template editor. If you’re not aware with Handlebarswith Handlebars, we’re suggesting to check out the official site of the template engine.
...
SR.getValueByFieldName(fieldName:String) – returns the input field value based on fieldName string parameter
SR.getIssuesByJQL(jql:String, <fields:String>) – returns an array of Jira issues based on JQL query and the list of comma-separated fields. If the fields parameter is not set, then Jira Navigable fields then Jira Navigable fields will be returned
SR.render(templateValues:Object, <callback:Function>) – passes the values from the JavaScript to the template defined in the Template tab. It is possible to set some after rendering logic with the callback parameter
...
Here you can see the complete code for the Script tab:
Permission tab
...