It's all about the answers!

Ask a question

Workitem Command Line 4.1: howto?


James Cheung (65714) | 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 https://rsjazz.wordpress.com/2018/03/26/work-item-command-line-4-1/

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,
Autorun

Accepted answer


permanent link
Ralph Schoon (57.1k23642) | answered Dec 10 '18, 10:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Comments
Ralph Schoon commented Dec 10 '18, 11:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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.