How to pass authentication automatically when using CLI to associate a change set to a workitem in another repository?
Both of the changeset and workitem repositories are 5.0.2.
My observation is that if trying to associate workitem with changeset cross-repository, I need to pass authentication first in RTC client (Related Artifacts->Associate Change Request), then using "scm add workitem" command. Otherwise, it reports unauthorized error.
My question is: how can I pass the authentication automatically? My understanding is that CLI should have the mechanism of passing authentication as it supports cross-repository workitem association, but it seems not. Is this a defect? Is there any workaround? For example, script/java code to help pass the authentication.
Thanks.
My observation is that if trying to associate workitem with changeset cross-repository, I need to pass authentication first in RTC client (Related Artifacts->Associate Change Request), then using "scm add workitem" command. Otherwise, it reports unauthorized error.
My question is: how can I pass the authentication automatically? My understanding is that CLI should have the mechanism of passing authentication as it supports cross-repository workitem association, but it seems not. Is this a defect? Is there any workaround? For example, script/java code to help pass the authentication.
Thanks.