Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

41 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you