What is the best way to learn how to write scripts for ScriptRunner?

Assume no prerequisite knowledge.  Where should I begin?  Are there any books?  (physical books)

4 answers

2 votes

I think from speaking to various people that it's pretty clear that we are missing some basic tutorials, for people with no prior knowledge. And we'll work on that.

Most people I think get started by adapting examples found either here, or on https://scriptrunner.adaptavist.com/latest/. But maybe other people have better sources?

Hi Robert,

That's a great question - and I wish there was a book but I'm not aware of any. As for where to begin, I think you're already in the right place. Atlassian Answers (and Google) is a great source for finding problems and snippets of code that solve them.

But really, if you can get over the large hurdle I'd recommend getting yourself set up for ScriptRunner with a development IDE. If you do, then you'll get a lot more help via the autocomplete for all of the available Groovy methods as well as tap into the debug information too.

Where possible, I try to implement many of the examples in the documentation so that it helps me work out what it can do and where it might be extended.

I hope that helps, I'm sure the community will have good tips for you too.



0 vote
Steven Behnke Community Champion Apr 15, 2016

Ask questions here! There's a lot of people willing to help. smile

I did - so my question is, knowing nothing, where can I go to find materials to learn how to write scripts?

I think you know what Steven meant, and we've given you the best answers we have at the moment.

Try starting with just the very basic knowledge on Java and Groovy coding.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

88 views 0 6
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