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

How to get the URL of an item in a change set by JavaAPI or JavaPlugin?

How to get the URL of an item in a change set by JavaAPI or JavaPlugin?

 I looked for IChangeset's Method.


but I couldn't get the URL of the item. 

How can I get the URL of an item?

0 votes

Comments

I don't know. I have looked relatively deep into the APIs Why would you want to do all these things, what is the purpose and business need? 

 For IItemHandles you can use com.ibm.team.repository.common.Location;


I have published https://github.com/jazz-community/ewm-scm-utils and the command 

com.ibm.js.team.supporttools.scmutils.commands.UploadToStream uses 
com.ibm.js.team.supporttools.scmutils.utils.URIUtil

to create the URI's for some SCM related items. The source code can be found in the git repo above. The method id com.ibm.js.team.supporttools.scmutils.utils.URIUtil.getURIForItem(IItemHandle)

 Thank you for your comment. 


Keeps the URL in the work item's text field.

There is a request to jump to the item by clicking on the link directly from the work item.

Creating links from work items to change sets. You can jump from a changeset to an item. 
However, it takes a lot of effort to click twice. 
That's why it's a request to jump to an item with a single click.


Be the first one to answer this question!

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
× 12,023
× 1,203
× 149
× 70

Question asked: May 25 '22, 7:39 a.m.

Question was seen: 1,159 times

Last updated: May 25 '22, 7:09 p.m.

Confirmation Cancel Confirm