Current behaviour of Copy/paste:
- an event xxx.paste is triggered
- but you can´t influence the pasted item via script because no object id´s are known at this moment
Needed behaviour:
For any pasted item (e.g. items in testlab, defect,...) we need to have a possibility to change some fields.
Due to the fact that there are too many needs of different customers to have a general solution it would be great if we can influence these pasted items via script. This could give the needed flexibility to modify it for your special needs.
Examples:
Copy Defect:
We need to set the status of the pasted defect to New and clear the "detected in cycle" field in the pasted defects.
Copy Folders in Testlab:
We need to clear the "target cycle" of the folders in the pasted items (folders and included testsets) automatically.
Currrently it works only "correct for us" if the target folder is connected to any cylce (then the pasted items will inherit the cycle from the parrent folder).
If the target folder has no cycle connection the pasted items will keep their target cycle connection which is bad for us (because we have to be very restrictive in these details and not everyone can change the outdated cycle)