Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

1 vote



One answer

Permanent link
 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)

3 votes

Comments

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202

Question asked: Oct 14 '14, 5:40 p.m.

Question was seen: 6,603 times

Last updated: Oct 15 '14, 1:22 p.m.

Confirmation Cancel Confirm