Can I connect jira to multiple databases?

I am creating a plugin where I need a user to input data and update an external oracle database. Currently, my jira instance is connected to a postgres database for all of it's normal jira functionalities. I need to establish another connection to a separate oracle database to write to that database. Jira is never writing the same data to both databases. 

Is this possible?

How can I do it?

1 answer

1 vote
Peter DeWitt Community Champion Oct 23, 2017

@Simon Huang, you will probably need to use a third-party scripting addon or write your own.  Vanilla Jira will not do this.

.pd

@Peter DeWittI am writing a add to implement this, but I am not sure what setup I need in the add on side to setup another database.

Peter DeWitt Community Champion Oct 24, 2017

Simon, post over on the Jira Dev board.  You'll get more eyes for the specifics.

@Peter DeWitt

Peter, Can you provide me a link to the dev board? Not sure where it is. 

I see that you are a engineer at atlassian so I do want a second opinion from you. Do you think it's possible to setup a second database in the dbconfig.xml or a similar file and in my plugin code I initialize a JDBC driver connection to the data to query the database?

Peter DeWitt Community Champion Oct 25, 2017

the developer community is here:

https://community.developer.atlassian.com/

Not sure about the db configuration.  Re-ask on the developer community.

 

.pd

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

796 views 2 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you