It's all about the answers!

Ask a question

What is the "new" way to associate a changeset with a work item in the command line?

Chris Wolf (4335) | asked Oct 14 '14, 5:40 p.m.
Currently, I can do this:
$ scm changeset associate <cs_alias> <workitem_id>

and it works. However, if I do:
$ scm help changeset

I get:
Problem running 'help':
This command has been deprecated. The functionality can be found in the following  commands: create, list, remove, set.

Well, I have not been able to find how to associate a changeset with a work item in any of the help of those other commands.  It would have been more helpful if just doing "scm help changeset associate" directly gave the new syntax instead of telling the user to go look for it.

Does anyone have an idea of the new syntax?  I even checked here:
 and found nothing.

Chris Wolf

One answer

permanent link
Lily Wang (4.9k714) | answered Oct 14 '14, 7:49 p.m.
 Hi Chris,

Since RTC 4.0.5, the command "scm changeset associate" was replaced by the new syntax "scm add workitem".
You can refer to Knowledge Center

In addition, in the wiki page you checked, in the Proposed Command section, you could see:

  • add
    • component (workspace add-component)
    • flow-target (workspace add-flowtarget)
    • work-item (changeset associate)

Chris Wolf commented Oct 15 '14, 1:22 p.m.

Thanks, Lily - it didn't occur to me to look at "scm add" since the deprecation warning said to check "create, list, remove or set.", I guess I missed the "add" proposal in the Wiki.  Thank you for your help.

Your answer

Register or to post your answer.