Need to check whether Workitemlist attribute value changes or not using server side api
Hello All,
I am using RTC 606.1
I am working on the server side plugin where plugin should trigger when Workitem list attribute changes so I have written below code:
/*******
IAttribute Handle=wis.findAttribute(workingCopy.getProjectArea(), "wilist", monitor);
IAttribute Handle_Old=wis.findAttribute(wiold.getProjectArea(), "wilist", monitor);
List<WorkItem> wislist= null;
List<WorkItem> wilist_old=null;
if(workingCopy.hasAttribute(Handle))
{
wislist=(List<WorkItem>) workingCopy.getValue(Handle);
}
if(wiold.hasAttribute(Handle_Old))
{
wilist_old=(List<WorkItem>) wiold.getValue(Handle_Old);
}
if(!(wislist.equals(wilist_old)))
{
--------------------
---------------------
}
**********/
But code is not working properly
I dont know how to check workitemlist attribute changes or not
Kindly help me in this.
Regards
Pallavi Deore