Yes and no.
The scripts themselves will work if you were only upgrading Script Runner. But it's quite likely that you are upgrading Jira as well, and the API in Jira may change in ways that stops your scripts working. There are big changes in the API between 6 and 7 for example - you'll probably need to amend every script that looks at users.
is there any api changes between 7.6.1 to 7.13.3?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No really,
In addition to what Nic said: from changes between 7 and 8 you will need to amend scripts that retrieve data using a JQL search.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandesh Shetty,
Groovy scripting by Script Runner relies on Jira Java API, so your code will work if you upgrade Script Runner third-party app, but may fail if you upgrade Jira since each Jira version introduces some changes in the Jira Java API.
Big changes come from upgrade Jira from / to a major version, that is, from Jira 6.x to Jira 7.x or from Jira 7.x to Jira 8.x
I suggest you to use a staging environtment first to perfom the upgrade and tune your groovy scripts if needed.
Kind Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is there any changes in api 7.6.1 to 7.13.3?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.