Remove a single task from the "Copy Change" function

Dave105
Kilo Guru


Our change manager has asked that when a user selects the "Copy Change" button the process does not copy one particular task. I have looked this up on forums and found these instructions to remove the change task completely but this is not what is requried, we simply want to stop one job from copying over. Instructions are "Make way to the "sys_properties.list" & look for "com.snc.change_request.copy.related_lists". then simply remove ",change_task " from the value box"

The task that we do not want copying over is "Change Post Completion Review (PCR)"

Can anyone please advise if/how this can be done?

6 REPLIES 6

gdd
Giga Expert

you can recreate your own functionality. Copy change and change tasks with the help of scripting, exclude above mentioned not required task


Gaurav Bajaj
Kilo Sage

Hi Dave,



You will have to modify ChangeUtil script include which is extended from ChangeUtilSNC.


All the copy change functions are present in it.


Here you can check for the type of change request you don't need a change task.



This will be a little tedious but an enjoyful task to debug the script and modify it.



Thanks


Gaurav


Thanks Gaurav,



I think this has got me in the right area, just need to locate the problem line and then work out how to edit it as read-only



Regards


Dave


You are not supposed to edit this one as there is a protection policy on it.


Please reuse the ChangeUtils and not ChangeUtilsSNC. You can copy all the code from ChangeUtilsSNC and put into ChangeUtils.


This will ensure that future updates in OOB script includes will not be hampered.