I understand from the documentation that a single Stash instance can only connect to one JIRA instance. My question is, can a single JIRA instance support integrations from/with multiple Stash instances?
This is not a failover issue, but rather an architecture issue - I would like to run multiple Stash servers in parallel, supporting different user bases/repositories/etc. on the different servers, but all sharing a single common JIRA instance.
Technically yes, you can support multiple Stash servers with a single JIRA instance.
The only thing I would worry a bit about is the performance of the "Source" tab in the JIRA issue view. For each linked Stash server it will make a request to that Stash server's REST API to discover any commits associated with that issue key. Stash indexes this data efficiently so these requests are typically very fast, but the overhead of just making an additional HTTP request for each linked server could slow things down if you have many linked Stash servers, especially if they're located far apart.
One mitigating factor is that the Source issue tab in JIRA is loaded asynchronously, so it won't slow down the time it takes to actually view the issue page. In the worst case, it would mean a few seconds to see the list of commits when the user actually clicks on the source tab.
In many to many relationship with jira/stash integration how does it handle duplicate jira/stash keys in muliple jira/stash instances?
For an example if i have PLAYP jira project key for 2 different projects in 2 different jira instances and linked PLAYP-2 jira issue in stash commit message. Which jira instance's PLAYP-2 issue will be opened now?
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot