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

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.

0 votes



One answer

Permanent link
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.jazz.install.doc/topics/c_jazz_single_sign_on.html&scope=null
Is this online help answer your question?

0 votes

Comments

The online help link seems require configuration on server side? I don't have administration privilege on server side, is there any sample code I can use to embed into my application so it can handle the authentication issue without interference on server side?

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
× 1,202
× 87

Question asked: Aug 03 '15, 5:54 a.m.

Question was seen: 2,648 times

Last updated: Aug 03 '15, 11:56 p.m.

Confirmation Cancel Confirm