For this use case we will consider having two Jira instances. On transition of a ticket in one of the instances, we want to write the status of the transitioned issue as a comment on the linked external ticket.
Configuration
Add the Execute remote actionpost function to the desired transition or create a new transition.
Create remote action
Select the action to get started. Choose Create an issue comment.
Select connection
Choose an existing connection to the external Jira instance or create a new connection.
Customize your action
Setting the parameters
Issue key
Set it manually using the expression editor as follows, assuming the external Issue has the key ISSUE-1:
ISSUE-1
Comment text
Choose Issue status.
From the used template, you can retrieve the Comment ID and/or the Comment author and save them in any field.
Optionally, you can use the storing results section to save the response body or parts of it into some field.