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

Can I get "about RTC" programatically?

We are using Rational Team Concert Version: 4.0.2 Build id: RTC-I20130222-1633
Some people are very stubborn and they wants to use the old version. Version: 3.0.1.2 Build id: RTC-I20111208-1025

I want to control it. 

When an user were trying to save a work item, RTC give an error i think.
"your RTC is not  in current version. please upgrade to latest version."

But, i need get RTC version or build id. Can i get it? 

0 votes


Accepted answer

Permanent link
Hi Hakki

In this case, when it fails it tells that the RTC client version is not at the same level as the RTC server version and to continue, user needs to update the client version. 

Perhaps this thread should help:

https://jazz.net/forum/questions/138532/is-there-any-way-to-know-what-client-versions-are-connecting-to-rtc

There isn't a way to fetch the details on what users are using old client versions yet. I'm sure there is an RFE for this. 

-Sumant

Hakki Bozkurt selected this answer as the correct answer

0 votes

Comments

Hi Sumant,

Thank you for your useful answer.


One other answer

Permanent link
Just for your information, most of the time when the RTC Eclipse client interacts with the Jazz server, it sends out the client version to the server in the HTTP header "X-com-ibm-team-configuration-versions". Here is a sample of such HTTP headers sent from an RTC 3.0.1 client.
GET /ccm/service/com.ibm.team.repository.common.transport.IDirectWritingContentService/_sj3TsObxEeOd69iDrunehg HTTP/1.1
http.useragent: com.ibm.team.repository.transport.client.RemoteTeamService
Accept-Charset: UTF-8
Accept-Language: en-AU
X-com-ibm-team-userid: dnong
X-com-ibm-team-service-version: 1
X-com-ibm-team-configuration-versions: com.ibm.team.jazz.foundation=3.0.1,com.ibm.team.rtc=3.0.1
Authorization: jauth user_token=8645eaf662fe49f19ba2bb2d2dffcf19
User-Agent: Jakarta Commons-HttpClient/3.1
And another one from an RTC 4.0.6 client.
GET /ccm/versionCompatibility?clientVersion=4.0.6 HTTP/1.1
http.useragent: com.ibm.team.repository.transport.client.RestClientConnectionBase
X-Requested-With: com.ibm.team.repository.transport.client.RestClientConnectionBase
Accept: text/xml
Accept-Charset: UTF-8
Accept-Language: en-AU
X-com-ibm-team-userid:
Authorization: jauth user_token=_IXM58OcBEeOM7M0tF7T6vA
X-com-ibm-team-configuration-versions: com.ibm.team.jazz.foundation=4.0.6,com.ibm.team.rtc=4.0.6
User-Agent: Jakarta Commons-HttpClient/3.1
If instead you want to get the version of the server, just send a request "/ccm/service/com.ibm.team.repository.service.internal.IProductRegistryRestService/allProductInfo" to the server



0 votes

Comments

Hi Donald,
Thank you for your reply, its really useful and i learn it yesterday.

But, this answer more useful than yours for me. and simple for me.
Thanks again.

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,943
× 70

Question asked: May 28 '14, 9:58 a.m.

Question was seen: 6,670 times

Last updated: May 29 '14, 3:57 a.m.

Confirmation Cancel Confirm