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

getJdbcDatasource returns NULL

Marcel Nick Oct 23, 2017

Hi ,

 

I am trying to get hold of the JDBCDataSource on Atlassian SDK 

<jira.version>7.2.2</jira.version><amps.version>6.2.11</amps.version>

using the below API , but I get a NULL 

JdbcDatasourceInfo jdbcDatasourceInfo = new DefaultOfBizConnectionFactory().getDatasourceInfo().getJdbcDatasource(); 

 

However the JNDI Datasource works

DefaultOfBizConnectionFactory().getDatasourceInfo().getJndiDatasource()

 

1 answer

0 votes
Marcel Nick Oct 24, 2017

Seems like a SDK issue . works when I change JIRA & amps version to the one below

<jira.version>6.3.1</jira.version>
<amps.version>5.0.3</amps.version>

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,379 views 6 15
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