copy change feature should not copy change tasks

SD29
Tera Expert

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.

12 REPLIES 12

Abhinay Erra
Giga Sage

See my previous comments, out of box it is already done


Hi Abhinay, is there a way for users to pick and choose which manually created tasks pull over in a copied change?

Jehiellb
Giga Contributor

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 CIsImpacted Services/CIs, and Change Tasks are able to be copied over to new change.

find_real_file.png

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!