Automatically link an issue to an external one

Use case

This use case considers the situation of working with two Jira instances. We will use this template to create a link on an issue in one Jira instance which points to another issue in an external Jira instance.

🛠️ Configuration

Add the Execute remote action post function to the desired transition or create a new transition.

Create remote action

Select the action to get started. Choose Create an external issue link.

Select connection

Choose an existing connection to the external Jira instance or create a new connection.

Customize your action

Set action parameters

The values used below are created for the example only. Please provide real input from your instance for making the use case realistic.

Issue key

Set it manually using the expression editor as follows:

%{issue.key}

Set it manually using the expression editor as follows by replacing EXTERNAL_JIRA_BASE_URL with your external Jira base URL and EXTISSUE-10 with the external issue key you want to link:

https://EXTERNAL_JIRA_BASE_URL/browse/EXTISSUE-10

Set it manually using the expression editor as follows:

Remote issue

Set it manually using the expression editor as follows:

External

From the used action template, you can retrieve the Link ID and save it in any field.

Optionally, you can use the Update issue fields (optional) section to save the response body or parts of it into some field.

Use case Workflow function Parser functions
Get attributes of Assets objects

Execute remote action

Create Confluence page with links to issues

Execute remote action

Automatically log work on a Jira issue

Execute remote action

dateTimeToString()

Create an overview page for a software release

Execute remote action

Clone issue in external instance

Execute remote action

Create a component to group issues related to UI design

Execute remote action

Notify the reporter of an issue about its status by a Telegram message

Execute remote action

Set the assignee of an external issue same as the transitioned issue

Execute remote action


Transition an external Jira ticket based on the linked internal one

Execute remote action


Create a comment on an external Jira ticket

Execute remote action

Automatically link an issue to an external one

Execute remote action

Create a personal space for a new employee

Execute remote action

Get Hubspot contact information

Execute remote action

Link a Jira issue with the corresponding release ticket

Execute remote action

Get Checklist

Execute remote action

Create a new employee account during an onboarding process

Execute remote action

Read the information from a Trello card

Execute remote action

Set Checklist

Execute remote action

Create an external project for a new employee during an onboarding process

Execute remote action

Automatically create a version when starting the release

Execute remote action

Translate the description

Execute remote action

replaceAll() wikiToHTML() htmlToTxt()

Retrieve the assets of an issue in Jira cloud

Execute remote action