What is the "new" way to associate a changeset with a work item in the command line?
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: https://jazz.net/wiki/bin/view/Main/SCMCLIUsabilityImprovements and found nothing. Thanks, Chris Wolf |
One answer
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 http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.1/com.ibm.team.scm.doc/topics/add_workitem.html
In addition, in the wiki page you checked, in the Proposed Command section, you could see:
Comments
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
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.