Connecting Another Jira Site: Cross-Site Cloning User Guide

Connecting Another Jira Site: Cross-Site Cloning User Guide

This content is archived.

:link: Connecting Another Jira Site (Cross-Site Clone) β€” User Guide

:book: Overview

Bulk Clone Pro can clone work items into another Jira Cloud site, not solely the site on which it is installed. Prior to performing cross-site cloning, an administrator must add the destination site from the Connected Sites screen and authorize access via OAuth β€” the same secure "Sign in with Atlassian" consent flow used across Atlassian products.

No passwords or API tokens are entered or stored by the application. Authorization is conducted exclusively through Atlassian's login and consent interface, and granted access may be revoked at any time.

Availability: Cross-site cloning is included in the Advanced edition. If the Connected Sites screen or a destination selector in the clone wizard is not present, the installed edition does not provide this capability.

:gear: How it works (in plain terms)

  1. Add a connection that references the destination site's URL.

  2. Select Authorize. Atlassian's standard consent screen will open in a new tab.

  3. Authenticate if required and grant the requested Jira permissions.

  4. The tab closes automatically and the connection state updates to Connected.

  5. The destination site becomes selectable as the target when executing a clone.

Operationally, Bulk Clone leverages OAuth to obtain a token permitting it to create issues on the destination site on your behalf. The application requests only the minimum Jira scopes required (read/write for work items and user lookup). It does not access or retain your Atlassian password.

Setting up a connection

  1. Navigate to Bulk Clone β†’ Connected Sites.

  2. Click Add connection.

  3. Provide the following: - Connection name β€” a descriptive label (for example, "Marketing Sandbox"). - Site URL β€” the destination site, e.g. https://your-company.atlassian.net.

  4. Click Save. The connection will appear as a card in an unauthorized state.

  5. Click Authorize on the connection card.

  6. Complete the Atlassian consent flow in the new tab.

  7. After the tab closes, the card status will indicate Connected / Authorized.

Tip: You must possess an account on the destination site that has permission to create issues. Authorization is bound to your Atlassian account; consequently, clones executed via that connection operate under your destination-site permissions.

:test_tube: Copying Xray Test steps to the connected site (optional)

If you employ Xray and require cloned tests on the destination site to include their steps, the connection must be configured with the destination site's Xray API key.

Why a second key? Xray Cloud issues API keys on a per-site basis. The key configured under Settings β†’ Xray on this site functions only for this site and cannot be used to write tests on the destination site. In the absence of the destination site's key, test steps will be omitted while other issue data clones normally.

To configure the destination site's Xray key:

  1. On the destination site, navigate to Xray β†’ Global Settings β†’ API Keys and create a key. Copy the Client ID and Client Secret.

  2. Back on the source site, open Connected Sites and select Edit for the relevant connection.

  3. Enable Xray Cloud API (remote site).

  4. Enter the Client ID and Client Secret and select the destination site's Region.

  5. Click Test to verify the credentials, then Save.

The connection card will then display an Xray badge. When executing a clone with Clone Xray Test steps enabled, manual steps and Cucumber/Gherkin definitions are replicated into the cloned tests on the destination site.

Note: This configuration covers test steps, Gherkin definitions, and Xray associations β€” that is, linking cloned tests to cloned test sets, test plans, test executions, and pre-conditions on the destination site. All of these operations require the destination site's Xray key; absent that key, these reconstruction steps are skipped.

If the connection's Site URL is modified, the Xray key is cleared automatically because a key is valid only for the site for which it was issued. Add the new site's key subsequently.

:lock: Authorizing an existing connection

Authorization for a shared connection is performed on an individual basis β€” authorization is associated per user. The presence of a connection in the list does not imply that you are authorized to use it.

If a connection displays Needs authorization for your account:

  1. Select Authorize on the connection card.

  2. Complete the Atlassian consent flow.

  3. Upon completion, the card will update to Authorized.

The clone wizard will also prompt you to authorize if you select a destination site that you have not yet authorized β€” follow the same Authorize procedure, then continue.

:rocket: Using a connected site in a clone

  1. Initiate a clone from Filters β†’ Search for work items β†’ Apps β†’ Bulk Clone.

  2. Proceed through the wizard to the Site step.

  3. Select the destination: - This site β€” the default option for cloning within the current site. - A connected site β€” select one of your authorized connections.

  4. For cross-site clones, a unique label is required and is generated automatically. This label enables the app to locate the cloned issues on the destination site after cloning (the destination site may not have Bulk Clone installed, therefore the label functions as an external marker).

  5. Complete the wizard and execute the clone. Upon completion, the Issues button opens the destination site filtered to the newly cloned issues using that label.

Cross-site clones support the same artifacts as same-site clones β€” subtasks, attachments, comments, issue links, reporter/assignee, and custom-field mapping β€” with one distinction: because sites utilize distinct internal IDs, you must map custom fields and their associated values to the destination site's equivalents during setup. Refer to the field-mapping step in the wizard for specifics.

Field and user mapping across sites

Different Jira sites employ different internal identifiers; consequently, the application remaps values during cloning:

Item

Behavior

Details

Item

Behavior

Details

Custom fields

Each source field is mapped to a corresponding field on the destination site.

For fields with selectable options (dropdowns, checkboxes, etc.), the application matches options by name; mappings may be adjusted manually as required.

Users (reporter/assignee)

Users are mapped to the equivalent person on the destination site where possible.

Successful mapping requires that the user has access to the destination site.

Links to the source

Because native issue links cannot span sites, the application adds a remote link on both the source issue and the clone.

This approach preserves navigability between related issues across sites.

:no_entry_sign: Revoking access

You may revoke your authorization at any time:

  1. Open Connected Sites.

  2. On the relevant connection, select Revoke my access.

  3. Your token will be removed and the connection will display Needs authorization for your account.

Revocation affects only your access to that connection; other authorized users remain unaffected. If authorization subsequently expires or is revoked at the Atlassian level, the application will prompt you to re-authorize when access is next required.

What is (and isn't) stored

Stored / Not stored

Details

Stored / Not stored

Details

Not stored: your Atlassian password and any API tokens.

Β 

Stored securely (encrypted): the OAuth tokens required for the application to perform write operations on the destination site on your behalf.

These tokens are never exposed in the browser and are accessed only by the server-side clone engine.

Stored securely (if provided): the destination site's Xray Client Secret.

Similar to OAuth tokens, this secret is retained server-side and is not returned to the browser β€” the connection only indicates whether a secret is present, not its value.

The connection card displays only non-sensitive metadata β€” the connection name, site URL, and your authorization status.

Β 

:warning: Troubleshooting

What you see

What it means

What to do

What you see

What it means

What to do

Connection card remains in the Needs authorization state after completing consent

The authorization process did not complete successfully or the consent screen was cancelled.

Select Authorize again and complete the Atlassian consent flow.

β€œThe authorizing account cannot access this site”

The account used for authorization lacks access to the destination site.

Authorize using an account that has access to the destination site, or verify and correct the site URL.

A clone into a connected site is blocked prior to initiation

You or the automation actor have not authorized that connection.

Open Connected Sites and select Authorize, then retry the operation.

A connection that previously functioned now requests re-authorization

The stored authorization has expired or been revoked.

Select Authorize again to re-establish the connection.

Clone reports β€œRemote site has no Xray Cloud API key configured”

The destination site's Xray key is not configured for that connection or has been disabled.

Edit the connection and supply the destination site's Xray Client ID and Client Secret (refer to the Xray section above).

Clone reports β€œXray rate limit reached”

Xray's API rate limit was exceeded (for example, 300 requests per 5 minutes on Xray Standard).

Wait several minutes and retry. Large batch operations that clone numerous tests with many steps are the typical cause.

Clone reports a test β€œis not available in Xray Cloud yet”

Xray has not completed registering the newly created test.

Re-run the clone for the affected tests; the application performs brief waits and retries automatically.

:question: FAQ

Do I need to create anything in the Atlassian developer console? No. Connecting a site requires only entering the URL and selecting Authorize. There is no developer-console registration required.

Does each teammate need to authorize separately? Yes. Authorization is per user; each team member who will perform clones into a shared connection must authorize it once.

Can I clone into a site in a different Atlassian organization? Yes, provided you authorize using an account that has access to that site and the ability to create issues there.

Is my password shared with the app? No. Authentication occurs on Atlassian's own interface; the application receives only a permission-scoped token and never obtains your password.