copy change feature should not copy change tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 10:53 AM
Hi All,
I have a requirement to ignore the change tasks created out of workflow(Assessment, Build, Test, Implementation, and Post Implementation Test Results) but copy over the manually created tasks to the new change when 'Copy change' UI action is used on the change request.
I know 'copy change' is a OOB UI action which copies the change attributes along with the related lists configured via sys_property, and it uses ChangeUtil and ChangeUtilsSNC script include functions. But I am lost while tracing the exact function or logic that deal with copying the change tasks. I see 'copyChangeRelatedLists()' function in ChangeUtilsSNC Script Includes, but not really sure what invokes it.
Please help me.
Thanks in Advance,
SD.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 11:57 AM
See my previous comments, out of box it is already done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2018 02:26 PM
Hi Abhinay, is there a way for users to pick and choose which manually created tasks pull over in a copied change?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 03:00 PM
Hi guys,
I know this is an old post.. This maybe out of the context but just want ask how can I add all the related records when copying a change?
currently only Affected CIs, Impacted Services/CIs, and Change Tasks are able to be copied over to new change.
Any idea how can I achieve this? I tried editing the 'Copy Change' UI Action but I failed, nothing happens.
any suggestions what else should I change to make this work? I'm gonna be honest, I'm not that good when it comes to scripting BUT I'm trying. Maybe you guys can help me with that too. 🙂
Just in case you came across with this question, your help will be much appreciated, Thank you in advance!