Lscm command to fetch work item type from work item number
Accepted answer
The lscm (and scm) command line tools only function on "source control" artifacts. It doesn't function on work items. To achieve your goal you will need to look into the Java API or OSLC API suites and develop your own tools oe you could investigate these non-IBM contributions:
https://rsjazz.wordpress.com/2015/11/03/a-rtc-workitem-command-line-version-3-0/
https://rsjazz.wordpress.com/2015/02/09/a-rtc-workitem-command-line-version-2/
Comments
See https://rsjazz.wordpress.com/2017/03/29/the-work-item-command-line-is-now-open-source/ for the latest code