Connection URL
After setting the CLASSPATH, the required connection information needs to be passed in the form of a connection URL.
jdbc:datadirect:jira:servername;User=username;Password=password_token;
[property=value[;...]];
where:
servername
specifies the base URL of the Jira service to which you want to issue requests. For example, http://mycompany.atlassian.net.
Note: Specifying an HTTPS URL for this property enables data encryption.
username
specifies the user name that is used to connect to your Jira service.
password
specifies the password or API token used to connect to your Jira service.
property=value
specifies connection property settings. Multiple properties are separated by a semi-colon.
The following example shows how to establish a connection to a Jira service:
Connection conn = DriverManager.getConnection
("jdbc:datadirect:jira:http://mycompany.atlassian.net;User=jsmith;Password=secret;");