Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Attempting to Connect to SQL Server Database through Scriptrunner Data Field using Active Directory

Thomas DeVoe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2022

We are running Jira Data Center on prem (version 8.19). We have a Scriptrunner Database Picker custom field. During development, we used a SQL Server ID but would like to change the Resource to use an Active Directory account. We've referred to a # of articles and tried different JDBC drivers but have not been successful connecting to the database. 

Is it required that we use Kerberos to connect?  If Kerberos is not required, can someone provide a recommended driver and sample connection string? If Kerberos is necessary, please provide helpful links.

Thanks.
Tom

 

1 answer

1 accepted

0 votes
Answer accepted
Thomas DeVoe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2022

In the ScriptRunner Resource, we were able to get this working by using the com.microsoft.sqlserver.jdbc.SQLServerDriver driver together with the following connection string:

jdbc:sqlserver://SQLServerName;authenticationScheme=NTLM;integratedSecurity=true;domain=DomainName;

Then specify your AD userid as the username and your AD password as the password.

Hopefully this helps someone else in the future.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events