Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to copy field values from one field to another field using Clone+ and Clone++ operations.

Instructions

  1. Log in to Jira as an Administrator. 
  2. Navigate to > Manage apps > Clone Plus for Jira and click the link as shown:
  3. Enable the Clone+ and Clone++ (custom1) Clone option.
  4. Navigate to Settings > Manage Apps > BOB SWIFT CONFIGURATION > Clone Plus > Edit and edit the Clone Plus for Jira Configuration properties file:
    Image RemovedImage Added
  5. Add the following clone-plus properties:

    Code Block
    themeMidnight
    #For Clone+
    
    1.condition.*.*.* = true
    1.label = Custom1+
    
    #For system fields
    1.ignoreFields = description
    1.set.description = %original_description%
    1.ignoreFields =
    description
    
    #For custom fields
    1.set.customfield_10402fieldExcludes = "%original_customfield_10401%"10801
    1.set.ignoreFieldscustomfield_10801 = %original_customfield_1040210800%
    
    -------------------------------------------------------------
    
    #For Clone++
    
    1.plus.condition.*.*.* = true
    1.plus.label= Custom1++
    
    #For system fields
    1.plus.set.descriptionignoreFields = %original_description%description
    1.plus.set.ignoreFieldsdescription = %original_description%
    description
    
    #For custom fields
    1.plus.set.customfield_10402fieldExcludes = "%original_customfield_10401%"10801
    1.plus.set.ignoreFieldscustomfield_10801 = %original_customfield_1040210800%
    


  6. Click Make Active and to update the Clone Plus properties are successfully updated.
    Image Removed:
    Image Added

  7. Go to a Jira project, open an Issue TN-1.
  8. From the View Issue screen of TESTTN-1 issue, click click More.
    1. In the dropdown, Custom1+ clone plus is shown. Click Select Custom1+ 
      Image Removed
      Linked Issue and Issue fields are visible in the Clone+ create a screen, as shown in the below screenshot:
      Image RemovedBy using fieldExcludes = issuelinks, You can hide the Linked Issues and Issue fields Image Added
    2. The output shows, the custom field value is copied from one field to another as shown in the below screenshot:
      Image RemovedImage Added

With the above configuration, you can hide the Linked Issues and Issue fields copy the value from one custom field to another by using Custom1 and Custom1++ operations.