Clone issue in external instance

Use case

Create a new issue in a different Data Center instance after transitioning an issue. Some of the values of fields from the transitioned issue will be copied.

🛠️ Configuration

Add the Execute remote action post function to the transition of your choice.

In Expert mode, create a new action with the following parameters:

Name

Enter Create issue in external instance  as the name of the new action.

Method

Select the POST method.

Default connection

Create a connection  to the external Jira instance and select it.

REST path.

Use the following REST path .

Bash
/rest/api/2/issue

Action body

Enter a custom action body to set the fields of the new issue as needed. The following action body can be taken as a reference as well as the sample request for the Create issue REST API to set the fields.

Bash
{  
    "fields": {
        "project": {
            "id": "10200"
        },
        "summary": "%{issue.summary}",
        "issuetype": {
            "id": "10000"
        },
        "assignee": {
            "name": "%{issue.assignee}"
        },
        "reporter": {
            "name": "%{issue.reporter}"
        },
        "labels": [
            "Hello",
            "World"
        ],
        "description": "%{issue.description}"
    }
}

This action body will copy the summary, description, assignee and reporter of the transitioned issue into the new issue. The project and issue type must be configured manually by specifying the respective IDs of the project and issue type of your choice. Besides, the field Labels is updated in the expression with a fixed set of labels.

Use case Workflow function
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

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

Retrieve the assets of an issue in Jira cloud

Execute remote action