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

admin - advanced properties configuration via REST API or any other API

 CLM 6.0

How do I configure the CLM admin - advanced properties in a scripted manner?

I've tried using REST API to authenticate as explained in -  Authentication For JazzTeamServer Using cURL
Then hacked the curl command for configuring one configuration item -
curl "https://lmb-clm-server:9443/qm/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/configurationUpdates" -H "Origin: https://lmb-clm-server:9443" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: en-US,en;q=0.8,he;q=0.6" -H "x-com-ibm-team-scenario: 4330df20-12de-4cc9-81e0-4c4e53707b69;name=com.ibm.team.repository.admin.configureAdvanced/Save;extras=/qm/admin" -H "X-com-ibm-team-configuration-versions: LATEST" -H "User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "accept: text/json" -H "Referer: https://lmb-clm-server:9443/qm/admin" -H "X-Requested-With: XMLHttpRequest" -H "Connection: keep-alive" --data "updates="%"5B"%"7B"%"22name"%"22"%"3A"%"22activationKey"%"22"%"2C"%"22value"%"22"%"3A"%"22dabbad00-8872-36d4-b246-ca785dd63fde"%"22"%"2C"%"22serviceImplementationName"%"22"%"3A"%"22com.ibm.team.repository.service.internal.vvc.ConfigurationManagementActivationService"%"22"%"7D"%"5D" --compressed

The response was:
X-com-ibm-team-repository-web-auth-msg: authrequired

Liora





0 votes

Comments

Liora, as explained in the other post, there may not be any APIs that you can use for any administrative works.

1 vote



One answer

Permanent link
Hi Liora,

The Advanced Properties cannot be updated via a public REST API. 

See the (provisional) Process REST API (see https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi) for some limited management capability.

0 votes

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
× 10,935
× 7,494

Question asked: Jul 04 '15, 11:10 a.m.

Question was seen: 5,064 times

Last updated: Jul 07 '15, 10:51 a.m.

Confirmation Cancel Confirm