how to get value of an attribute like actual effort in a work request , when a work request is being saved?
One answer
Comments
Hi Ralph,
The participant or advisor gets the new state and the old state.
saveParameter.getNewState() and (IWorkItem) saveParameter.getOldState();
as described in the Extensions workshop. You can use the code to get the value of an attribute fr the old state and the new state and compare the values.
Can you give me the exact link for the same?
If you just get started with extending Rational Team Concert, or create API based automation, start with the post Learning To Fly: Getting Started with the RTC Java API’s and follow the linked resources.
If you want to do this kind of work, you basically have to go through the information provided and the workshop. You will also require to have or build up skills in finding information as well as knowledge around Java and Eclipse extension development. Doing the extensions workshop mentioned in the link above is important.
This is definitely not the kind of "please provide me with all the code" domain.