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

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.




Related use cases



JWT feature

Workflow function

Execute remote action

Parser functionsfindPattern() first()
Label







Status
Tech review

Style guide