The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Import groovy class

Andrew Striletskyi
Contributor
August 1, 2018

Hello everyone. I've the following problem: as mentioned in https://scriptrunner.adaptavist.com/latest/jira/#_script_roots we can import classes from other scripts. I've a script Helper.groovy (with package util) that located in /scripts/util directory. And I try to import class Helper using import util.Helper . And I see an error  

 unable to resolve class util.Helper

How to fix It? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Alexey Matveev
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 Champions.
August 1, 2018
TAGS
AUG Leaders

Atlassian Community Events