Can multiple Stash instances integrate with a single JIRA instance?

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

This widget could not be displayed.

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

Cool! Thanks for the reply.

This widget could not be displayed.

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
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...

168 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