Owner of the workitem is updated by ADMIN
I am in team of CMVC-RTC Connector .It bi-directionally synchronizes the defects in CMVC and RTC repoistry.The issue I am facing is during my outgoing synchronization from RTC->CMVC the updates are BEING executed from ADMIN .Debugging through Inter-op service it seemed that when at the first time connector executes the outgoing it forced to run as ADMIN but I am not sure as why the consequtive updates are being made from ADMIN inspite of giving connector user credentials in External Repiostry connection.
2 answers
Can you be more specific on what you are looking at that makes you think something is running as ADMIN? In a Jazz server, all asynchronous tasks run as the Jazz internal "ADMIN" user, but that would have nothing to do with what identity the external operations execute in CMVC as. That would be dictated by your implementation.
Right now if I change a create a Workitem , I am able to see the following in the history of the WI :-
ADMIN 5 minutes ago
Owned By Unassigned sdwbtest1
cmvc_family <Unassigned>testsvt@sdwbaix4.in.ibm.com@56994
compProcess <Unassigned>default
cmvc_name <Unassigned>138
cmvc_id <Unassigned>156
sdwbtest1 - Creation 5 minutes ago
Summary Defect doesn't gets closed after accepting verification record
Status Open
Description Defect doesn't gets closed after accepting verification record
Type CMVCDefect
Project Area Test4
Filed Against c1_default
Subscribed By added:
sdwbtest1
The initial creation of the workitem is being done with the desired id but the latter update is from ADMIN.The following are the jazz.log :-
Jazz.log are
TaskRunner-39] DEBUG com.ibm.team.interop.service.outgoingSyncJob - Query for modified items returned 1 result(s) in 0ms
2011-06-17 16:29:09,343 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Query for items linked to proxies returned 0 results in 1343ms
2011-06-17 16:29:09,812 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Max Allowed Tasks = 30 , Running Tasks = 0 , Pending Tasks = 1 , Total Tasks to start = 1
2011-06-17 16:29:09,812 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Starting sync for = _xt00QJjQEeCC6cQEk6O8Yw
2011-06-17 16:29:12,468 DEBUG com.ibm.team.interop - ExternalProxy : Saved state _1VYw0JjQEeCFPtWTn8cw7Q, context _2mwMEJahEeCf-ohppCbC5g:
status=UNINITIALIZED
targetItem=WorkItem:
externalState=null
incoming(external->item)=(null->null)
outgoing(item->external)=(null->null)
syncRule=null
cycleCount=0
2011-06-17 16:29:12,515 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Waiting for 2 sec for item = _xt00QJjQEeCC6cQEk6O8Yw
2011-06-17 16:29:12,609 DEBUG com.ibm.team.interop - ExternalProxy : Attempting outgoing sync; running as ADMIN
2011-06-17 16:29:12,625 DEBUG com.ibm.team.interop - ExternalProxy : Syncing out item state _zw9JppjQEeCFPtWTn8cw7Q
2011-06-17 16:29:13,250 DEBUG com.ibm.team.interop - ExternalProxy : Base item state id: <unknown>
2011-06-17 16:29:13,625 DEBUG com.ibm.team.interop - ExternalProxy : Saved state _1jPmqJjQEeCFPtWTn8cw7Q, context _8lNyYNwSEd2pIJ5QVwgQGg:
status=UNINITIALIZED
targetItem=Contributor:
externalState=null
incoming(external->item)=(null->null)
outgoing(item->external)=(null->null)
syncRule=_LCgpIJajEeCv6rWFR4WmlQ
cycleCount=0
2011-06-17 16:29:13,781 DEBUG com.ibm.team.interop - ExternalProxy : Outgoing sync blocked waiting for dependencies
2011-06-17 16:29:13,796 DEBUG com.ibm.team.interop - ExternalProxy : Attempting outgoing sync; running as ADMIN
2011-06-17 16:29:13,937 DEBUG com.ibm.team.interop - ExternalProxy : Completed outgoing sync; updating proxy state
2011-06-17 16:29:14,984 DEBUG com.ibm.team.interop - ExternalProxy : Syncing out item state _zOrdAJahEeCf-ohppCbC5g
2011-06-17 16:29:14,984 DEBUG com.ibm.team.interop - ExternalProxy : Base item state id: <unknown>
2011-06-17 16:29:15,031 DEBUG com.ibm.team.interop - ExternalProxy : Saved state _1nRLBJjQEeCFPtWTn8cw7Q, context _2mwMEJahEeCf-ohppCbC5g:
status=PENDING (blocked)
targetItem=WorkItem:7
externalState=null
incoming(external->item)=(null->null)
outgoing(item->external)=(null->null)
syncRule=_LNFhcJajEeCv6rWFR4WmlQ
cycleCount=0
2011-06-17 16:29:15,031 DEBUG com.ibm.team.interop - ExternalProxy : Creating external object with properties:
{user_id=sdwtest1@in.ibm.com, name=sdwbtest1, address=sdwtest1@in.ibm.com}
2011-06-17 16:29:46,984 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Completed sync for the item = _xt00QJjQEeCC6cQEk6O8Yw
2011-06-17 16:29:47,078 DEBUG com.ibm.team.interop.service.stats - Outgoing synchronization: itemType=WorkItem, count=1, start=16:29:09.812, stop=16:29:46.984, duration=37 s, average=37172.0 ms
2011-06-17 16:29:47,109 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Searching for WorkItem items that may need outgoing sync
2011-06-17 16:29:49,843 [ Asynchronous
ADMIN 5 minutes ago
Owned By Unassigned sdwbtest1
cmvc_family <Unassigned>testsvt@sdwbaix4.in.ibm.com@56994
compProcess <Unassigned>default
cmvc_name <Unassigned>138
cmvc_id <Unassigned>156
sdwbtest1 - Creation 5 minutes ago
Summary Defect doesn't gets closed after accepting verification record
Status Open
Description Defect doesn't gets closed after accepting verification record
Type CMVCDefect
Project Area Test4
Filed Against c1_default
Subscribed By added:
sdwbtest1
The initial creation of the workitem is being done with the desired id but the latter update is from ADMIN.The following are the jazz.log :-
Jazz.log are
TaskRunner-39] DEBUG com.ibm.team.interop.service.outgoingSyncJob - Query for modified items returned 1 result(s) in 0ms
2011-06-17 16:29:09,343 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Query for items linked to proxies returned 0 results in 1343ms
2011-06-17 16:29:09,812 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Max Allowed Tasks = 30 , Running Tasks = 0 , Pending Tasks = 1 , Total Tasks to start = 1
2011-06-17 16:29:09,812 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Starting sync for = _xt00QJjQEeCC6cQEk6O8Yw
2011-06-17 16:29:12,468 DEBUG com.ibm.team.interop - ExternalProxy : Saved state _1VYw0JjQEeCFPtWTn8cw7Q, context _2mwMEJahEeCf-ohppCbC5g:
status=UNINITIALIZED
targetItem=WorkItem:
externalState=null
incoming(external->item)=(null->null)
outgoing(item->external)=(null->null)
syncRule=null
cycleCount=0
2011-06-17 16:29:12,515 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Waiting for 2 sec for item = _xt00QJjQEeCC6cQEk6O8Yw
2011-06-17 16:29:12,609 DEBUG com.ibm.team.interop - ExternalProxy : Attempting outgoing sync; running as ADMIN
2011-06-17 16:29:12,625 DEBUG com.ibm.team.interop - ExternalProxy : Syncing out item state _zw9JppjQEeCFPtWTn8cw7Q
2011-06-17 16:29:13,250 DEBUG com.ibm.team.interop - ExternalProxy : Base item state id: <unknown>
2011-06-17 16:29:13,625 DEBUG com.ibm.team.interop - ExternalProxy : Saved state _1jPmqJjQEeCFPtWTn8cw7Q, context _8lNyYNwSEd2pIJ5QVwgQGg:
status=UNINITIALIZED
targetItem=Contributor:
externalState=null
incoming(external->item)=(null->null)
outgoing(item->external)=(null->null)
syncRule=_LCgpIJajEeCv6rWFR4WmlQ
cycleCount=0
2011-06-17 16:29:13,781 DEBUG com.ibm.team.interop - ExternalProxy : Outgoing sync blocked waiting for dependencies
2011-06-17 16:29:13,796 DEBUG com.ibm.team.interop - ExternalProxy : Attempting outgoing sync; running as ADMIN
2011-06-17 16:29:13,937 DEBUG com.ibm.team.interop - ExternalProxy : Completed outgoing sync; updating proxy state
2011-06-17 16:29:14,984 DEBUG com.ibm.team.interop - ExternalProxy : Syncing out item state _zOrdAJahEeCf-ohppCbC5g
2011-06-17 16:29:14,984 DEBUG com.ibm.team.interop - ExternalProxy : Base item state id: <unknown>
2011-06-17 16:29:15,031 DEBUG com.ibm.team.interop - ExternalProxy : Saved state _1nRLBJjQEeCFPtWTn8cw7Q, context _2mwMEJahEeCf-ohppCbC5g:
status=PENDING (blocked)
targetItem=WorkItem:7
externalState=null
incoming(external->item)=(null->null)
outgoing(item->external)=(null->null)
syncRule=_LNFhcJajEeCv6rWFR4WmlQ
cycleCount=0
2011-06-17 16:29:15,031 DEBUG com.ibm.team.interop - ExternalProxy : Creating external object with properties:
{user_id=sdwtest1@in.ibm.com, name=sdwbtest1, address=sdwtest1@in.ibm.com}
2011-06-17 16:29:46,984 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Completed sync for the item = _xt00QJjQEeCC6cQEk6O8Yw
2011-06-17 16:29:47,078 DEBUG com.ibm.team.interop.service.stats - Outgoing synchronization: itemType=WorkItem, count=1, start=16:29:09.812, stop=16:29:46.984, duration=37 s, average=37172.0 ms
2011-06-17 16:29:47,109 DEBUG com.ibm.team.interop.service.outgoingSyncJob - Searching for WorkItem items that may need outgoing sync
2011-06-17 16:29:49,843 [ Asynchronous