Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Plugins for script

Marianna Terto May 18, 2018

What is the main difference between Script Runner and Porwer Script for Jira?

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 18, 2018

Hello,

The main difference that Power Scripts uses its own language (sil) and ScriptRunner uses groovy/java, which gives you the following:

1. Power Scripts only can perform actions, which are defined for sil. Though SIL contains many different functions, you still can meet a requirement, which you will not be able to accomplish. ScriptRunner lets you use Jira Java API directly, that is why your limits are only  within Jira Java API

2. SIL is much easier to learn and it hides complexity of Jira architecture. For example, when updating an issue, you do not have to know several ways to update issue and how to deal with different custom fields types. You will write just a single line. If you use ScriptRunner, you have to understand, how Jira works or use ScriptRunner ready-made functions, but it would limit your possibilities.

3. The same script in Power Scripts is supposed to work in all Jira versions. You would need to change a script in ScriptRunner, if Jira Java Api has changed for this particular Jira version.

In short, ScriptRunner is more flexible but more difficult to learn and develop.

It is my opinion about the two plugins. I guess, different people can have different opinion.

Marianna Terto May 21, 2018

Hello @Alexey Matveev,

Thank you for your reply.

Can you tell me where I'll find more information about SIL. And SIL alredy made instructions, if there are any?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2018

You can find documentation here:

https://confluence.cprime.io/display/SIL

There are many examples and tutorials. Video tutorials are available as well. 

Marianna Terto May 21, 2018

Thank you for your attention!!

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2018

You are welcome!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events