Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Aug 28 '20, 6:05 a.m.

Question was seen: 766 times

Last updated: Aug 28 '20, 6:05 a.m.

Confirmation Cancel Confirm