How to capture change event of TeamArea member or project area member.
I want to capture the change of TeamArea member or project area member using java plain api. If a member was added into project area/team area or deleted from project area/team area, if any event or url is provided to us.
As I know, the change of component can be get changes from URL like below:
feedUrl = rootUri + "/service/com.ibm.team.repository.common.internal.IFeedService?itemType=com.ibm.team.scm.Component";
I want to know if any event or url link I can capture the change of member change of TeamArea or ProjectArea. How to be notified?
Please give me some advise or example.
2 answers
Comments
Thks your advise.
But I found the xml data returned not enough for me. The data only contain info membership has changed in process area, but not tell me which member was deleted or added into process area.
for example:
the data from below url:
feedUrl = rootUri + "/service/com.ibm.team.repository.common.internal.IFeedService?itemType=com.ibm.team.scm.Component";
I can found the data
<category term="com.ibm.team.scm.eventCategory.newComponent" /> indicate a new Component was created
<category term="com.ibm.team.scm.eventCategory.component.name" /> indicate a component name was renamed.
<category term="com.ibm.team.scm.eventCategory.component.owner" /> indicate a component owner was changed.
I can handle component according to the above category.
I want to get more membership changed information of project area/team area, just like add/remove action and which member was added/removed into project area/team area.