ScriptRunner Syntax Reference

Fabio Rodrigues July 21, 2017

Is there any documentation that explains how to write scripts with "ScriptRunner" plugin? A reference with classes, functions, etc?

2 answers

2 accepted

2 votes
Answer accepted
Gaston Valente
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.
July 21, 2017

This plugin has great documentation:

https://scriptrunner.adaptavist.com/latest/index.html

Code examples:

There're a lot

https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/postfunctions/set-issue-attributes.html

Jira API Doc: most of the code you will write is based on the jira api: 

https://docs.atlassian.com/jira/server/

Start by looking at this particular class, all begins here:

https://docs.atlassian.com/jira/latest/com/atlassian/jira/component/ComponentAccessor.html

 

 

0 votes
Answer accepted
Steven Behnke
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.
July 21, 2017

Scriptrunner uses the Atlassian JAVA APIs. You're probably best off reading the javadocs.

https://docs.atlassian.com/jira/server/

Suggest an answer

Log in or Sign up to answer