Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to remove Clone stamp from cloned test cases?

asadiq
Contributor
January 28, 2025

In Jira, there is an option to clone the test cases which is really good option.

 

Once the test cases are cloned, test case title is appended with the text (Clone) .

 

I have tried to bulk edit the test cases, but it doesn't help. I am wondering if there is an efficient way to bulk edit the cloned test cases.

2 answers

2 accepted

2 votes
Answer accepted
Renata_Getint
Atlassian Partner
January 29, 2025

Hey @asadiq 

Totally get the frustration.

Since Jira’s bulk edit doesn’t support modifying summary fields directly, here are a couple of ways to clean up those titles efficiently:

1. Automation for Jira (No-Code Approach)

You can set up an Automation Rule to strip out the "(Clone)" from cloned issues automatically. Here’s how:

  • Go to Project Settings → Automation → Create Rule
  • Set Trigger to “Issue Created”
  • Add Condition: If “Summary” contains (Clone)
  • Add an Edit Issue Action to modify the Summary field using smart values:

{{issue.summary.replace("(Clone)", "").trim()}}

  • Save & activate the rule

This way, every time a test case is cloned, the annoying tag disappears instantly.

2. Bulk Update via ScriptRunner (If You’re Comfortable with Scripting)

If you have ScriptRunner installed, you can run a simple Groovy script to bulk-remove "(Clone)" from existing test cases. Something like this:

def issues = jqlSearch("project = YOUR_PROJECT AND summary ~ '(Clone)'")
issues.each { issue ->
def newSummary = issue.summary.replaceAll("\\(Clone\\)", "").trim()
issue.updateSummary(newSummary)
}

If you don’t have admin rights or access to ScriptRunner, your Jira admin might be able to help set this up.

3. CSV Export & Import (Manual but Effective)

  • Export cloned test cases with the "Summary" field
  • Open in Excel/Google Sheets and use Find & Replace to remove "(Clone)"
  • Re-import into Jira, making sure you have issue keys mapped correctly

Hope one of these works for you! Let me know if you need any help setting it up.

Cheers,
Renata

0 votes
Answer accepted
Ramakrishna _RK_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2025

Hi @asadiq ,

Welcome to Atlassian Community!

Please follow below steps and give a try!

  • go to JIRA Administration > System.
  • you should land on the 'Settings' page.
  • on the 'Settings' page, click the Advanced Settings button.
  • the first key should be jira.clone.prefix with value = "CLONE - ".
  • click the value field next to jira.clone.prefix (i.e. the bit that says "CLONE - ") to edit and update.

Please accept the answer if it fix your ask. Thanks!

 

Regards

RK

Suggest an answer

Log in or Sign up to answer