Skip to end of banner
Go to start of banner

How to add CLONE prefix to summary

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

The standard clone operation that comes with JIRA automatically prefixes "CLONE - " to the summary of the original issue. Many people do not like this and prefer just the original summary. By default, Clone Plus does not change the summary. However, it can be customized to add this or any other prefix you like to the summary (or other fields for that matter). This describes the steps needed to mimic the standard JIRA behavior. 

Getting Started With Customization - this has more details on how to customize

Steps

You need access to the JIRA server to perform these steps.

  1. Create a clone-plus.properties file in the directory configured as your JIRA home directory. An alternative is to copy and modify the example clone-plus.properties file - see link.
  2. Add the following content. This creates both a Clone and Clone+  custom replacements. You may only want/need one or the other.

    clone-plus.properties
    # Configure the custom 1 clone operation
    # Show this action all the time
    1.condition.*.*.* = true
    
    # Set the label
    1.label = Clone
    1.tooltip = Clone after editing fields
     
    # Set the summary to be like the default Clone operation by adding "CLONE - "
    1.set.summary = CLONE - @summary@
     
    # Configure the custom 1 plus clone operation
    # Show this action all the time
    1.plus.condition.*.*.* = true
     
    # Set the label
    1.plus.label = Clone+
    1.plus.tooltip = Clone after selecting project and type and then editing fields
     
    # Set the summary to be like the default Clone operation by adding "CLONE - "
    1.plus.set.summary = CLONE - @summary@
  3. Go to UPM and find the Clone Plus Plugin.
  4. Enable the Clone+ (custom1) and Clone++ (custom1) modules.
  5. Disable the Clone+ and Clone++ modules.
  6. Test

 

  • No labels