Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Reusing common code(groovy) - jira development

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

89 views 1 10
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