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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

49 views 0 4
Read article

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