how to get the component containing a file
Here, we have the UUID of one code file, how could we the component which contains this code file by its UUID? Thanks a lot!
|
One answer
You'll have to find a change set that contains a change for that file. The change set is set to one component and that can't change. However, the file can be moved to another component so you may find change sets that aren't from the same component.
You can search for change sets using IChangeSetCriteria to set your parameters. Then call IWorkspaceManager#findChangeSets(*). |
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.