On 07.04.2016 19:15, emmanuel r wrote:
You can do this: import static org.matz.utils.Jira.* import org.matz.utils.Jira Jira.createTicket() createTicket()
or if a small case jira is wanted: import org.matz.utils.Jira as jira
Note: Methods are /always/ in a class. Most likely Groovy is creating a Script class for you.
yepp, always! In case of a script, the name is generated from the script name.
bye Jochen
