Tutorial (new)

This new and improved tutorial was created by Alexey Matveev, and Atlassian Community expert and a highly skilled user of SIL.

Original Article

https://community.atlassian.com/t5/Jira-articles/It-is-never-been-easier-to-create-your-own-SIL-routine-Part1/ba-p/1324140

https://community.atlassian.com/t5/Jira-articles/It-is-never-been-easier-to-create-your-own-SIL-routine-Part-2/ba-p/1325318#M2467

Intro

SIL is a programming language, created by Appfire, to extend Jira and Confluence functionality. The main advantage of SIL is that SIL contains easy to use routines, which perform certain actions in Jira. For example, you want to write a program to search for issues. In Java API or groovy plugins, you would need to write about ten lines, which would make you go through Jira API and find your way on how to write these lines. Also you would need to provide compatibility of your code for Jira 7 and Jira 8. But in SIL you just call the selectIssues("your jql query"). That is all! This code will work for any Jira, which you have.

But, suppose, you want to do something in Jira and SIL language does not have a routine for it. In this case you have the following options:

  • Use SIL Groovy Connector - this plugin will let you execute Java API code within the SIL engine

  • Develop you own routine for the SIL engine.

In this article we will concentrate on developing our own routine…

Continue reading step1

See More