You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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.