Can multiple Stash instances integrate with a single JIRA instance?

Austin Hastings November 8, 2012

Howdy,

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.

Thanks,

=Austin

2 answers

1 accepted

2 votes
Answer accepted
TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2012

Hi Austin,

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.

cheers,

Tim

Austin Hastings November 11, 2012

Cool! Thanks for the reply.

0 votes
Sathiyaseelan Murugaiayh January 28, 2015

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?

Suggest an answer

Log in or Sign up to answer