These examples are for Behaviours. Use the table of contents links on the left to navigate through them or click on the first example which is Setting Field Default.
For how-to questions please ask on Atlassian Answers
where there is a very active community. Adaptavist staff are also likely to respond there.
Ask a question about ScriptRunner for
JIRA, for for
Bitbucket Server, or for Confluence.