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

How to get change set link and its http link using java client API.

Hi All,
I want to get change set link and its http link.
When we open work item in web UI of RTC, if change sets are attached to work item we can see it in link tab.
For example
This is change set link.
Is there any client API which will help me to do the following
1. API to print change set link on console.
2. API to get http link associated to change set link.

0 votes

Comments

Could anybody please tell me?

System.out.println(). You likely have to collect the data you want to print yourself and generate appropriate strings.


Accepted answer

Permanent link
 I figured how to get change set http link.
following is API to do this.
String uri = Location.itemLocation(IItemHandle item handle, String repoUri).toAbsoluteUri().toString();
It will store http link of change set(if we pass change set handle) into string variable.



Ralph Schoon selected this answer as the correct answer

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,954

Question asked: Nov 14 '15, 1:20 a.m.

Question was seen: 1,832 times

Last updated: Nov 16 '15, 4:53 a.m.

Confirmation Cancel Confirm