Overview

A federated environment is one where several autonomous instances of Atlassian products are connected to each other, normally sharing the same users. Interconnectable products are not restricted to Jira and may include Confluence, Bitbucket, Crowd, etc.


A federated Jira environment is not similar to having one big, consolidated Jira instance; that would be better achieved with a data center deployment.

Use cases

Features

Limitations

Before creating a federated environment

As depicted in this thread and on the answer provided by Mattias Gaiser, there are some points you should evaluate before creating a federated environment:

Setting up a federated environment

This is the high-level steps

Using Xray in a federated environment

Xray may be used in a federated environment with some restrictions.

Please see ahead of the supported and unsupported features along with the possible and unfeasible use cases.


This is not a common scenario and thus has not been validated explicitly by the Xray team nor is part of the advertised product features. We advise you to validate your usage scenario before a global rollout.


Supported and unsupported features


FeatureExpect Xray behaviorNotes
central user management and authenticationOKtransparent to Xray
linking remote issuesOKtransparent to Xray; note that
link remote defects from a Test RunOKthe execution screen allows you to add/link existing remote defects
create remote defects from a Test RunN/Acreating remoting issues is not possible in a federated Jira environment; issues have to be created first on the destination instance and then they can be linked from the source location (e.g. instance performing the runs)

covering/linking a "requirement" with a Test in an external Jira

(i.e linking a "requirement" to a Test issue stored in a different Jira instance)

Unsupported

"requirement" issues (e.g. stories) must be co-located with Test issues.

All these entities must be co-located in the same Jira instance: Tests, Pre-Conditions, Test Sets, (Sub)Test Executions, Test Plans, Test Runs and all issues configured to be handled as "requirements" (i.e. coverable issues).

Synchronize the "Requirement Status", "TestRunStatus", "Test Set Status", "Test Execution Defects" or other calculated custom fields to another Jira instance

Unsupported


As these fields are calculated, they depend on historical execution data (i.e. Test Runs) which is not easily synchronizable
scenarios where testing related entities, including "requirements", are stored in different Jira instancesUnsupportedAll these entities must be co-located in the same Jira instance: Tests, Pre-Conditions, Test Sets, (Sub)Test Executions, Test Plans, Test Runs and all issues configured to be handled as "requirements" (i.e. coverable issues).

searching across linked instances

(e.g. whenever using JQL, for building saved filters, in any issue picked dialog)

N/AJira itself does not support searching in a federated Jira environment



Notes and Recommendations

Possible use cases


It's possible to have a Jira dashboard with information from connected Jira instances but requires some initial configurations

  • You need to import the gadgets from one instance to the other one:
    • a) you may use subscriptions
    • b) or you may manually import each gadget
      • in instance 1: Add gadget  => Show XML link => copy to clipboard
      • in instance 2 => Add gadget> Manage gadgets > Gadgets => Add a gadget => paste previously copied URL


Unfeasible use cases

Copy information between instances

Whenever thinking about copying or synchronizing some sort of information between instances you have to clarify:

Please do have look at Atlassian documentation and work with an Atlassian partner, if possible, to help you with this as it may not be something trivial.

Nevertheless, below you may see a brief sum-up of different levels of "synchronization" along with some possible solutions. We advise you to try solutions (these or other) before going live.

One-time, on-demand operations

"Live" Synchronization

Notes

Resources