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

Inline scripts have access to same directories as groovy scripts on the server?

ScriptRunner Post Functions have 2 ways to provide code: provide the name of a Groovy script in a file in a specific directory on the server or paste Groovy code in an inline window.

Groovy scripts in files in that directory have access to "snippets" of Groovy code in sub-directories of that specific directory.

It appears that Groovy code in an inline window does not.  Is there anyway to import external classes into Groovy code in an inline window?

It would be nice if the two ways of specifying Groovy code were consistent.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

555 views 6 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you