Forums

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

Strange waring about package scriptrunner

Ruslan November 17, 2022

Hey, experts! 

 

Pls help me. We have strange warning. 

 

Expected class to be in package 'ru.al.outsource' but found 'ru.al.notifications.mail'. This won't be supported in ScriptRunner 9.0.

 

Script is in the outsorse folder. We have folder mail but,its different scrpit and class. What the happend?

all path:

data/jira.data/scripts/ru/al/outsource

 

1 answer

0 votes
Nic Brough -Adaptavist-
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 Leaders.
November 22, 2022

Your script sounds like it is importing something from an external library, which is somewhere in the install, but it is actually finding it in a different place from the import you've done.  The warning is telling you to amend your code to import from where the library was actually found, because SR 9 won't be able to make those guesses any more.

Suggest an answer

Log in or Sign up to answer