It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set up Script Variables in Script Runner

I read the following documentation on Script Variables in Script Runner (http://scriptrunner-docs.connect.adaptavist.com/jiracloud/script-variables.html) and how to use it in your script, but it does not describe how to set up a variable.

For example, in the documentation it say's that the variable

MY_FIRST_SHARED_VAR

has the value

testValue

but how do you set that variable and where? Do you set it up in JIRA or the server that is running JIRA?

1 answer

0 votes
Tom Lister Community Leader Mar 10, 2019

Hi @Jean Rodriguez 

Go into the Add-ons part of JIRA Administration and in the left sidebar there should be a sub-heading SCRIPTRUNNER with one of the subsections being Script Variables. For a Cloud instance, the exact URL should be something like this:

https://[yourinstance].atlassian.net/plugins/servlet/ac/com.onresolve.jira.groovy.groovyrunner/script-variables?s=com.onresolve.jira.groovy.groovyrunner__script-variables

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 03, 2019 in Marketplace Apps

How to estimate projects more accurately?

Gaining insight into your team’s effectiveness and choosing the right estimation technique.   Estimating projects is hard. It is because people have the tendency to underestimate the time thin...

275 views 2 8
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