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

Script Runner SQL connect to SQL

Hi,

I would like to display some data from MSSQL. I have a View in Jira database. I try do this with tutorial from official Script Runner Documentation, but when I run code in script console i get this error:

groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method groovy.sql.Sql#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface javax.sql.DataSource] [interface java.sql.Connection] at Script1.run(Script1.groovy:13)

Somewhere i saw that problem was a jdbc Driver, but it's the same database which Jira is connected. Does anybody know the solution? 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 20, 2018

Could you share your code without datasource, user and password? The SQL could also have false data, but it would be better if your share the type of those objects.

Hi Tomasz Bryła,

I am facing same situation. Can u plz help me out if you have resolved it.

Thanks.

@Meena Sabnivisu

I was installed a new jdbc driver and connected to database like that:

jdbc:sqlserver://;serverName=NameOfServer;portNumber=1433;databaseName=jira_db

Like Meena Sabnivisu likes this
TAGS
AUG Leaders

Atlassian Community Events