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

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

932 views 8 25
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