Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create an automation to remove " - CLONE" when cloning work items?

Mike Noonan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2025

When I go to clone an work item in my environment, the summary always displays CLONE - in front of the original value. 

 

I tried to create an automation to remove this but no luck getting it to work. 

 

The rule I tried to create was: 

1. New Trigger --> Issue Linked, Link Type=Cloners 

2. Action --> Look up work items with JQL set to issue in linkedIssues("{{issue.key}}", "clones") AND summary ~ "CLONE"

3. Action Edit Issue with field set to Summary and smart value= {{lookupIssues.summary.replaceAll("(?i)^clone( of)?(\\s*[-:]\\s*)?", "")}}

 

Can someone please assist with getting CLONE removed from cloned work items? Is this a setting that can be turned on and off? 

2 answers

2 accepted

3 votes
Answer accepted
Shawn Doyle - ReleaseTEAM
Community Champion
July 9, 2025

Hi @Mike Noonan 

 

The first step, if you haven't done this already, is to change the global settings so it no longer adds the prefix.

advance_settings.png

If you don't want to turn it off globally...

Change the trigger to

clone trigger.png

And have one action, and use this smart value 

{{issue.summary.remove("CLONE - ")}}

edit_clone_summary.png

2 votes
Answer accepted
Philipp Sendek
Community Champion
July 9, 2025

Hi @Mike Noonan and welcome to the community.

 

Gladly, you can actually turn this off, although this is a global configuration that can't be limited to a specific project.

It is the "jira.clone.prefix" Setting in the Advanced Settings.
You can access these settings the following way:

  1. Choose > System

  2. Choose General configuration and click Advanced Settings.


The documentation can be found here: https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-settings/

Greetings
Philipp

Mike Noonan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2025

Thank you! 

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events