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

This widget could not be displayed.
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.


@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:

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



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

266 views 1 3
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