Getting work item associated with a changeset using lscm
How can I get a work item associated with a changeset using lscm command line utility? |
Accepted answer
lscm list changes <changeset> gives you that information.
Ved Kpl selected this answer as the correct answer
Comments
Ved Kpl
commented Mar 16 '21, 2:29 a.m.
Thanks. It worked. I do get the work item UUID. How can I get all information inside that workitem (description, type, priority, etc) ?
Ved Kpl
commented Mar 16 '21, 2:44 a.m.
I am looking into "lscm query ... " or "lscm get ... " , but struggling to figure anything out yet. Am I on the right track? 1
scm commandline does not get any other information related to a work item other than workitem uuid, id and summary.
EWM does not have a work item command line utility although you could use curl (search the forum and you will find some answers) or try https://github.com/jazz-community/work-item-command-line#rtc-work-item-command-line.
Ved Kpl
commented Mar 16 '21, 6:21 a.m.
Thanks, will look into this.
Ved Kpl
commented Mar 16 '21, 2:12 p.m.
I downloaded WCL-V5.3.1-20210210.zip and ran wcl.sh. But it gives me the following error :
" -Djava.ext.dirs=/usr/lib/jvm/jdk-11.0.10//lib/ext:/usr/lib/jvm/jdk-11.0.10//jre/lib/ext:./lib:/tmp/plainjava is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit. "
I am using java 11 on a linux machine.
Ralph Schoon
commented Mar 17 '21, 5:25 a.m.
| edited Mar 17 '21, 5:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Consider using Java 8 which is actually supported for the JDK and the Plain Java Client Libraries. Plus there is an additional / in the paths above. Consider to review the format for JAVA_HOME and define one in the .sh file.
The .sh file might not work, I develop with Windows and I can rarely test on linux.
See https://github.com/jazz-community/work-item-command-line/blob/4e808f6d0ecdd1f4da79c832a521660c155208e4/com.ibm.js.team.workitem.commandline/src/main/resources/scripts/wcl.sh as latest version. I recently tested on one linux system I have access to.
showing 5 of 6
show 1 more comments
|
One other answer
Ralph Schoon (63.5k●3●36●46)
| answered Mar 16 '21, 3:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Mar 16 '21, 3:47 a.m. This is the documentation for scm/lscm: https://www.ibm.com/support/knowledgecenter/SSYMRC_7.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html |
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.