Rename an update set that is already completed and moved to production

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 08:33 AM
Since there was no naming convention policy set when our developers started using update sets, we are planning to tidy up the update sets by renaming them however we can only rename them on development instance but not the ones on our production. Can we force rename the update sets via a fix or background script or is there any other recommended approach to this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 08:35 AM
Hi JC,
Yes you can rename those, they have already been migrated to production. Any new changes will be captured in new update sets.
Have done many times in the past without any issues.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks,
Aman

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 08:39 AM
Hi Aman,
So you've used a background script to rename the ones on production? If yes, can you share it? Currently all fields in the retrieved update set is set to read-only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 08:43 AM
Hi JC,
Here is the snippet.
var gr = ne GlideRecord('sys_remote_update_set');
gr.get('07cb42c7db7b3a0072a6721dbf961981');
gr.query();
if (gr.next())
{
gr.name='New name';
}
gr.update();
Thanks,
Aman
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 04:01 PM
Hi Aman,
Just tried this and it didn't work.