Is ScriptRunner Data Center version compatible with Jira server versions

Yordanka Terziyska January 15, 2024

Hi, I wonder if I can use ScriptRunner DataCenter version on Jira server 8.20 version? Can someone point me to some resources where I can check if I can expect compatibility issues? Thank you!

2 answers

2 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
January 15, 2024

Welcome to the Atlassian Community!

We have not written Scriptrunner for Server for many years now, pretty much since Data Center arrived, we've been writing for DC only.

Coding for DC is a bit more complex than Server; you have to worry about a few more things (my memory is not good; I can only remember 2 of the 3 big ones and none of the smaller ones.  On Server, sessions and indexing do not need much attention, even when you're doing clever things with them, but they matter on DC, and you have to do a bit more work.)

But, if it works on DC, it will work on Server, so there's no point coding for them separately!  (Unless your code calls something DC does that Server does not, such as archiving.

This applies to your scripts, too.  A script that works on DC will always work on Server, but it is possible to write scripts that work fine on Server and fail on a DC install with more than one node.

Also, any script that calls functions that are DC only will fail on Server, same as scripts that call functions in applications or apps that are not installed.  Scripts can't run something that isn't there!

TLDR: "think of Server as a single node DC install, download the latest DC app that says it works with your version of Jira"

Yordanka Terziyska January 16, 2024

Thank you, Nic, for detailed response! Appreciated! 

0 votes
Answer accepted
Peter-Dave Sheehan
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.
January 15, 2024

There are 2 versions of the plugin jar files available from the marketplace: https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira/version-history

One is for dc and the other is for cloud. While I think they will work interchangeably, you should use the version that corresponds to your Jira license.

If you just download scriptrunner via the Universal Plugin Manager, it will download the correct one.

And with very few exceptions, scripts/configurations created with DC will also work on Server as long as they are not leverage features that are locked in Server and not locked in DC (like issue archiving).

Even though you asked about the reverse direction, you might find some interesting information here: https://docs.adaptavist.com/sr4js/latest/scriptrunner-migration/migrating-to-data-center

Yordanka Terziyska January 16, 2024

Great! Thank you, @Peter-Dave Sheehan !

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events