ScriptRunner Syntax Reference

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
Accepted answer
Gaston Valente Community Champion Jul 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
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,231 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you