Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

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

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