It's all about the answers!

Ask a question

Workitem Command Line 4.1: howto?

James Cheung (671116) | asked Dec 07 '18, 6:55 p.m.

Hi all,

I went through the doc and still not too sure. Please help on WCL created by Ralph

1. Can WCL create a workitem and link to a changeset which is a single local zip file?
2. Can I download the changeset to a local folder based on a workitem number returned by (1) above?

if yes, would you please show me the sample command line?

Best regards,

Accepted answer

permanent link
Ralph Schoon (63.3k33646) | answered Dec 10 '18, 10:40 a.m.
edited Dec 10 '18, 10:45 a.m.

From the code:

// SCM change set link, can only be set by the SCM component
// public static final String LINKTYPE_CHANGESET = "scm_changeset";
// Designmanager
// public static final String LINKTYPE_ELABORATED_BY = "elaborated_by";

So change set links are not supported. 

You could upload an attachment. You can also download an attachment.

There are URL references that could be used to point to network locations. Browsers don't support local links any more due to the security threat.

WCL is for work items. If you want to access SCM data use the SCM Command Line that ships with RTC. That also supports some SCM/Work Item integration use cases.

James Cheung selected this answer as the correct answer

Ralph Schoon commented Dec 10 '18, 11:18 a.m.

 I think that attachment download is currently only available in CSV export.

James Cheung commented Dec 11 '18, 11:59 a.m.

Thanks Ralph.

Your answer

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