I recently created many clones of stories and now all of my cloned subtasks say "Clone-" as a prefix to the subtask. Is there any way to remove this prefix from all the subtasks at once? Right now im going through and deleting the prefix manually but I have hundreds of subtasks that this needs to be done too.
Hi @DS -- Welcome to the Atlassian Community!
You may do this with an automation for Jira (A4J) rule to remove that prefix. Your project admin will need to create the rule. Here is an example of such a rule:
I recommend validating this rule in a test project to see that it does what you wish first, and then add it to your project.
Automation rules can only process up to 100 issues at a time, so I selected a scheduled trigger as that can be run repeatedly, manually. Once you have processed all of the issues, you may disable the rule.
To learn more about automation rules, please look here:
Best regards,
Bill
Thanks Bill, that definitely seems like the best way to go about this. However, when I tried to create a rule it seems to fail with the error of:
Error editing issuesDIL-5 (You must specify a summary of the issue. (summary)), DIL-6 (You must specify a summary of the issue. (summary)), DIL-3 (You must specify a summary of the issue. (summary)), DIL-7 (You must specify a summary of the issue. (summary)), DIL-4 (You must specify a summary of the issue. (summary))"
Do you know what I'm doing wrong here? Your help is greatly appreciated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is curious... That seems to behave as if issues are being found without "CLONE", and/or issues are being processed multiple times, and/or there is a timing issue.
Would you please post an image of your complete rule and of an execution from the audit log?
After that, please try to write the modified summary to the audit log rather than editing the issue. That may help reveal what is happening.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, after testing your example on the main project im working on, It seems to have worked perfectly . However, in my test project environment, i had to use this value:
{{issue.summary.substringAfter("CLONE - ")}} {{issue.summary.substringAfter("- ")}}
in the edit issue Summary field to get it working. Not sure if i set something up wrong in my test environment but all is working now. Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bill, works and just what i needed!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community.
You could do that with an Automation rule that uses a manual trigger.
Action would be Edit Issue Field. You could use Advanced Edit with JSON and smart values to reset the value of the field to its string minus the "Clone-" text.
References:
https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/
https://support.atlassian.com/jira-software-cloud/docs/smart-values-text-fields/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Trudy!
I suggested a scheduled rather than a manual trigger for this rule (when using JQL for a batch) as manual rules auto-magically exclude the trigger issue key from the JQL behind the scenes. Same thing for branch JQL. I believe this was done to prevent race-track errors.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @DS,
I am Marlene from codefortynine.
We've just released an update for our Marketplace app Advanced Bulk Edit for Jira that enables you to remove text from the issue summary in bulk. Our app is easy to use and would fit if Jira users have to remove text from issue summaries on a regular basis.
If you have questions or feedback about Advanced Bulk Edit for Jira, don't hesitate to contact us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
GOOD CARD WITH COOL CASH...Get THE 2023 BLANK ATM Programmed Card and cash money directly in any ATM Machine around you. you can withdraw a total sum of $7,000.00 USD daily. Try and get yours today from (Mr. Calvin) via: officialblankatmservice@gmail.com be among the lucky ones who are benefiting from this card just like me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Clone Epic Function - Story/Review Sub-task Field Clearing Problems
While cloning any issue the estimates and checklist will be carried over, which should not be like that.estimates and checklist list items should not be taken over during clone operation.please provide me solution for this
if any one having idea please suggest me the solution for this please
Thanks in Advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a quick and easy solution (using simple export and import) if this is not a common recurring use case. Takes about 2-3 mins to do!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also go to project settings and add an automation rule like below,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is IMHO the most elegant solution. To complete the explanation , here's what you have to o in the EDIT action:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @DS ,
Not sure if you are a site admin or not. I think that it can be done by using CSV export import. I mean search and then export impacted issues, modify the summary values and then Import that CSV file but making sure that you have correct mapping to modify the existing issues not create new one!
See "Updating existing issues" in
https://support.atlassian.com/jira-cloud-administration/docs/import-data-from-a-csv-file/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.