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 votes
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,799 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot