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: 

Reusing common code(groovy) - jira development

MarkoRocko
February 8, 2021

In script runner I can access my custom groovy packages and make my groovy files reusable.

However, when I am working in a plugin the groovy packages I could access on script runner are not accessible.
Is there a way to expose my custom groovy(classes) packages making them accessible/reusable from inside a plugin or one of my custom plugins?
I suppose I could package them up and snapshot them into a jar file adding them to a classpath and that would work. 
However, I would love it if I could just add the path somewhere but don't know if thats how it works.

I started looking at tomcat and was wondering perhaps if a path can be added there?

Please advise.  :    )

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.