How can I do a search-and-replace to remove the "CLONE -" prefix?
If you have ScriptRunner installed (or are otherwise comfortable using the API), you may could accomplish this programatically in a manner similar to what is described in the following link. This example is for updating one issue, but you could determine the desired issue list using something like /rest/api/2/search?jql=summary~clone and then iterate over that list, setting the summary to its current value, omitting the first 9 characters (the length of "clones - ")
http://scriptrunner-docs.connect.adaptavist.com/jiracloud/script-console.html#_update_an_issue
I already have a pointer to this search-and-replace function. https://github.com/cboyke1/jira_search_replace
It's unfortunate that the product has nothing to do this with.
It's unfortunate that the product's default behavior is to prefix cloned tasks and subtasks.
It's unfortunate that even after a number of people have struggled with this it is still this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The fix is to export the issues to a csv, find & replace in the csv, and then use that with the Admin import to update those issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the search navigator , search like summary ~ "CLONE -".
When you get the desired result then use bulk clone to change the Summary of all the issues.
You can find bulk clone operation on top right corner of your search view.
Regards
Prakhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> You can find bulk clone operation on top right corner of your search view.
But I don't want to clone them. I want to remove "CLONE -" from the summary. (also - I do not find Bulk anything in the top-right corner of the search view. Just "Share", "Export" and "Tools", and under Tools is "No Available Option(s)"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, that was typo. I meant to say Bulk Edit.
Your administrator might have turned off that feature hence you are not seeing it.
Follow these documentation pages based on your set up (server and cloud) :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to the second link you provided, Summary cannot be modified by a bulk-edit. Prefixing Summary with "CLONE -" is really ugly and is causing problems for many users. I know that *before* cloning, the prefix can be set - but I already have about 400 tasks that have been cloned.
The following system fields are unavailable for bulk editing:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.