Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes


Accepted answer

Permanent link

lscm list changes <changeset> gives you that information.

Ved Kpl selected this answer as the correct answer

0 votes

Comments

Thanks. It worked. I do get the work item UUID.  How can I get all information  inside that workitem (description, type, priority, etc) ?

I am looking into "lscm query ... " or "lscm get ... " , but struggling to figure anything out yet. Am I on the right track?

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.


1 vote

Thanks, will look into this. 

 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.

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.  

showing 5 of 6 show 1 more comments

One other answer

Permanent link

 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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 7,492
× 1,321

Question asked: Mar 15 '21, 1:35 p.m.

Question was seen: 1,996 times

Last updated: Mar 17 '21, 5:27 a.m.

Confirmation Cancel Confirm