Passing the connection URL
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Atlassian Jira 6.0
- Documentation
After setting the CLASSPATH, the required connection information needs to be passed in the form of a connection URL.
Connection URL Syntax
The connection URL takes the following form:
jdbc:datadirect:jira:servername;User=username;Password=password_token;
[property=value[;...]];
where:
- servername
- specifies the URL of the Jira service to which you want to issue requests. For example, http://mycompany.atlassian.net.
- user
- specifies the user name that is used to connect to the Jira service.
- password_token
- 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.
Connection URL Example
Connection conn = DriverManager.getConnection
("jdbc:datadirect:jira:http://mycompany.atlassian.net;User=jsmith;Password=secret;");