On this page

Use case

Link the transitioned issue to the first issue mentioned in its description.

Configuration

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

Create remote action

Select the action Link an issue.

Select connection

Choose an existing connection 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.

Link type name

Set it manually writing the following expression in the expression editor:

Relates

Source issue key

Choose Copy field value from current issue and select Issue key as field. The link will start from the issue for which the transition is performed.

Target issue key

Set it manually using the expression editor by entering the following expression:

%{first(findPattern(%{issue.description}, "[A-Z]{2,}-[0-9]+"))}

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


If you still have questions, feel free to refer to our support team.