It's all about the answers!

Ask a question

Need to check whether Workitemlist attribute value changes or not using server side api


Pallavi Deore (38135) | asked Aug 28 '20, 6:05 a.m.

 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

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.