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
$ 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:
-
add
- component (workspace add-component)
- flow-target (workspace add-flowtarget)
- work-item (changeset associate)