Ambiguous component :-import data to Jazz SCM because of the following error
Ambiguous selector "Projects" matched multiple items:
Possible matches: (1018) "Projects" (1019) "Projects" Problem running 'import ccase': Could not import data to Jazz SCM because of the following error: Ambiguous component "Projects". But when i list components it is showing different UID and not it is allowing me to import through UID. Pls guide |
One answer
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.
Comments
Listing components shows below :-
Component:(1018) "test_compi"
Component:(1019) "test_compi"
Component:(1021) "Projects"
Hi Dhruv,
Please show entire command you have attempted to run.
ccc import ccase -d \Views\ -s <Stream> -c Projects -r <Repo link> -u <user> -p <passwd>
ccc import ccase -d \Views\ -s <Stream> -c 1021 -r <Repo link> -u <user> -p <passwd>
scm list component -r <repo link> -v -u <user>
Dhruv Bansal,
At one time did you rename one of the components to 'test_compi' from 'Projects' -after- you ran the ClearCase synchronizer and imported code into it?
I remember when I used the synchronizer in 4.0.3, I tried to rename a component that had already had CC code imported into it (I was trying to re-do the import because I was testing), but the CC Synchronizer stores the component UUID as a share root, even if you rename it, so I wasn't able to do this cleanly and so I dealt with it another way.
If the '1018' 'test_compi' component is causing the ambiguous component name issues, and you really only want to use '1021', then you could try to set component 1018's owner and visibility to another user so you can no longer see it, then try to import again.