How to list the related source code of a workitem?
![]()
We associate all source code changes to a work item. I would like to generate a list of source code associated to a particular work item. This post and it's follow-up posts is helpful for doing this through the Java API but I would like to do it using lscm.
I can get a list of changes against a work item: c:\Users\O386600\oracle>lscm -u y locate -r mbeprod -w "hp mbe q 2015 05 o386600" -v -W 9561 (3854:_zoGcwMzCEeSJ84CAI2oi3A) "hp mbe q 2015 05 o386600" (13 of 13) (3855:_8646EcPrEeSJ84CAI2oi3A) ----$ Username 9561 "Issue 1706 HP MBE Q 2015 05 Non-SOA SOA" - "Issue Foo T5 foo Performance Issue" 06-Mar-2015 02:47 AM <snip> But then what I thought I could do was to list the changes of those changesets like this: c:\Users\O386600\oracle>lscm ls changes -r mbeprod -w "hp mbe q 2015 05 o386600" _zoGcwMzCEeSJ84CAI2oi3A But I get an error: Problem running 'list changes': Invalid item type for "_zoGcwMzCEeSJ84CAI2oi3A". Expected type "changeset" but specified item was of type "workspace". Try 'lscm help list changes' for more information. Incidentally, I tried with the aliases but it didn't work, sometimes UUID works better but it was the same results both ways (as above). Am I misunderstanding how this would or could work? Is there another way using lscm to get the source files associated with a work item? |
Accepted answer
One other answer
![]()
Hi,
Thank you for your suggestion. It helps me to connect work item to source code. I am wondering if there is any way to get the full path? it returns \<unresolved>\...
|