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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

53 views 0 3
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