It's all about the answers!

Ask a question

CC Sync failed - 'Filed Against' attribute needs to be set


Gary Dang (59328855) | asked Jun 27 '08, 1:48 p.m.
In a Project Area, multiple team areas were created. One CC Sync stream was created for one team area. The 1st sync attempt failed with error - 'Filed Against' attribute needs to be set. Any further trial gave error - there are active changes sets in CLONE workspace. Could you please comment on why the error occurred and how to resolve it? Thanks.
---------------
Sync:
action: SYNCHRONIZE
synchronization stream location string: Stream|URI:itemOid/com.ibm.team.scm.Workspace/_ZxLn0ERpEd2pq4MywEKD3Q
synchronizer version number 'I20080618-1642'
running on host 'STRMSVS1001'
Creating component: Docs
Retrieving meta-data for: NTTA_Test_Docs/Docs/Jazz_Sandbox
Updating folder: Docs/Docs/Jazz_Sandbox
Creating file: 1 - This folder is for Jazz-RTC testing only.txt
Creating file: 2nd file created in CCRC.txt
Checking in brought over changes
WARNING: Could not create task named: Bring over: NTTA_Test_Docs/Docs/Jazz_Sandbox
Synchronization exception: Could not save workitem: Attribute 'Filed Against' not set

Caused by: 'Save Work Item' failed. Preconditions have not been met: The 'Filed Against' attribute needs to be set (work item <12>).

BUILD FAILED
E:\Program Files\IBM\JazzSandbox\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59: javax.wvcm.WvcmException: Synchronization failed.

Total time: 1 minute 52 seconds
Build failed. Exit value was 1.

-----------
Sync:
action: SYNCHRONIZE
synchronization stream location string: Stream|URI:itemOid/com.ibm.team.scm.Workspace/_ZxLn0ERpEd2pq4MywEKD3Q
synchronizer version number 'I20080618-1642'
running on host 'STRMSVS1001'
Synchronization exception: Runtime Error

Caused by: Workspace: CLONE_NTTA_Test_Docs_Int has 1 active changes sets. It should have 0.

BUILD FAILED
E:\Program Files\IBM\JazzSandbox\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59: javax.wvcm.WvcmException: Synchronization failed.

Total time: 28 seconds
Build failed. Exit value was 1.

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jun 27 '08, 2:47 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
First, you want to verify that the Team Area for your synchronized
stream is associated with a valid category (that's how it picks a
default "Filed Against" value for the generated task).

If your team area is associated with a valid category, then the easiest
workaround is to just set your synchronized stream's Jazz Provider
Property named IGNORE_TASK_CREATION_FAILURE to "true".

A fix is to set the TEMPLATE_ID property to be the id of a valid
workitem for your current process (i.e. one that has a valid Filed
Against attribute).

Cheers,
Geoff

gdang wrote:
In a Project Area, multiple team areas were created. One CC Sync
stream was created for one team area. The 1st sync attempt failed
with error - 'Filed Against' attribute needs to be set. Any further
trial gave error - there are active changes sets in CLONE workspace.
Could you please comment on why the error occurred and how to resolve
it? Thanks.
---------------
Sync:
action: SYNCHRONIZE
synchronization stream location string:
Stream|URI:itemOid/com.ibm.team.scm.Workspace/_ZxLn0ERpEd2pq4MywEKD3Q
synchronizer version number 'I20080618-1642'
running on host 'STRMSVS1001'
Creating component: Docs
Retrieving meta-data for:
NTTA_Test_Docs/Docs/Jazz_Sandbox
Updating folder: Docs/Docs/Jazz_Sandbox
Creating file: 1 - This folder is for Jazz-RTC testing
only.txt
Creating file: 2nd file created in CCRC.txt
Checking in brought over changes
WARNING: Could not create task named: Bring over:
NTTA_Test_Docs/Docs/Jazz_Sandbox
Synchronization exception: Could not save workitem:
Attribute 'Filed Against' not set

Caused by: 'Save Work Item' failed. Preconditions have not
been met: The 'Filed Against' attribute needs to be set (work item
12>).

BUILD FAILED
E:\Program
Files\IBM\JazzSandbox\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59:
javax.wvcm.WvcmException: Synchronization failed.

Total time: 1 minute 52 seconds
Build failed. Exit value was 1.

-----------
Sync:
action: SYNCHRONIZE
synchronization stream location string:
Stream|URI:itemOid/com.ibm.team.scm.Workspace/_ZxLn0ERpEd2pq4MywEKD3Q
synchronizer version number 'I20080618-1642'
running on host 'STRMSVS1001'
Synchronization exception: Runtime Error

Caused by: Workspace: CLONE_NTTA_Test_Docs_Int has 1
active changes sets. It should have 0.

BUILD FAILED
E:\Program
Files\IBM\JazzSandbox\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59:
javax.wvcm.WvcmException: Synchronization failed.

Total time: 28 seconds
Build failed. Exit value was 1.

permanent link
Yanzhuang Li (31134126) | answered Jun 27 '08, 2:57 p.m.
Thanks, Geoff. Will try.

permanent link
Geoffrey Clemm (30.1k33035) | answered Jun 27 '08, 6:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I neglected to answer the second part of this message, which was how to
deal with the "active change sets in CLONE workspace" problem that
occurs following this error. I've opened a workitem to get that fixed
(workitem 58748). Until that is fixed, the manual fix is to login to
Team Concert as the sync account for that synchronized stream, and then
explicitly complete that active change-set. (This is a case where you
are allowed to violate the normal rule that you should never login using
the sync account :-).

Cheers,
Geoff

Geoffrey Clemm wrote:
First, you want to verify that the Team Area for your synchronized
stream is associated with a valid category (that's how it picks a
default "Filed Against" value for the generated task).

If your team area is associated with a valid category, then the easiest
workaround is to just set your synchronized stream's Jazz Provider
Property named IGNORE_TASK_CREATION_FAILURE to "true".

A fix is to set the TEMPLATE_ID property to be the id of a valid
workitem for your current process (i.e. one that has a valid Filed
Against attribute).

gdang wrote:
In a Project Area, multiple team areas were created. One CC Sync
stream was created for one team area. The 1st sync attempt failed
with error - 'Filed Against' attribute needs to be set. Any further
trial gave error - there are active changes sets in CLONE workspace.
Could you please comment on why the error occurred and how to resolve
it? Thanks.
---------------
Sync:
action: SYNCHRONIZE synchronization stream
location string:
Stream|URI:itemOid/com.ibm.team.scm.Workspace/_ZxLn0ERpEd2pq4MywEKD3Q
synchronizer version number 'I20080618-1642'
running on host 'STRMSVS1001'
Creating component: Docs
Retrieving meta-data for:
NTTA_Test_Docs/Docs/Jazz_Sandbox
Updating folder: Docs/Docs/Jazz_Sandbox
Creating file: 1 - This folder is for Jazz-RTC testing
only.txt
Creating file: 2nd file created in CCRC.txt
Checking in brought over changes
WARNING: Could not create task named: Bring over:
NTTA_Test_Docs/Docs/Jazz_Sandbox
Synchronization exception: Could not save workitem:
Attribute 'Filed Against' not set
Caused by: 'Save Work Item' failed.
Preconditions have not
been met: The 'Filed Against' attribute needs to be set (work item
12>).

BUILD FAILED
E:\Program
Files\IBM\JazzSandbox\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59:

javax.wvcm.WvcmException: Synchronization failed.

Total time: 1 minute 52 seconds
Build failed. Exit value was 1.

-----------
Sync:
action: SYNCHRONIZE synchronization stream
location string:
Stream|URI:itemOid/com.ibm.team.scm.Workspace/_ZxLn0ERpEd2pq4MywEKD3Q
synchronizer version number 'I20080618-1642'
running on host 'STRMSVS1001'
Synchronization exception: Runtime Error
Caused by: Workspace: CLONE_NTTA_Test_Docs_Int
has 1
active changes sets. It should have 0.

BUILD FAILED
E:\Program
Files\IBM\JazzSandbox\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59:

javax.wvcm.WvcmException: Synchronization failed.

Total time: 28 seconds
Build failed. Exit value was 1.

Your answer


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.