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.

regards,

Mark.

0 votes
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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

321 views 0 12
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot