Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,947
Community Members
 
Community Events
168
Community Groups

Is there a way to define global Classes in MyGroovy?

In MyGroovy you can define Global Objects. These global objects can be accessed with their name in other MyGroovy scripts.

But, the can only be defined with a default constructor - without parameters.

I would like to define a global (reusable) class that can be used with parameterized constructors.

Is there a way to do this?

1 answer

0 votes

Check out the docs i'm sure you can find out what you're looking for. 

Suggest an answer

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

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

114 views 0 9
Read article

Atlassian Community Events