Can't access JDBC drivers within WorklogPRO

Description

Hi again,
I have another issue when using Create/Update Worklog script.
Indeed, I would like to store some data into database. It works fine when using some Jira post function, but using your script, it's not working.
It seems not recognize

def driver = Class.forName('net.sourceforge.jtds.jdbc.Driver').newInstance() as Driver;

on imports part, I use:

import groovy.sql.Sql;
import java.sql.Driver;
import java.sql.Timestamp;

is it possible to querying / store database from your script ?
regards,
Xavier

Environment

None

Priority

Major

Assignee

Deniz Oğuz

Reporter

Deniz Oğuz

Affects versions

None

Fix versions

Labels

None

Source

None

Jira Version

None

Database Type/Version

SQL Server 2019

Browser Type/Version

None
Configure