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

getPublicRepositoryURL returns the old public URI (Java API)

 I try to get the URI of a work item on the server. 

Location location = Location.itemLocation(workItem, this.getPublicRepositoryURL());
URI uri = location.toAbsoluteUri()

But the returning URI is not the present URI but the URI we used before a server rename. Why did my code return the old path? Is there a way to return the actual URI from the Work Item?

Thanks and regards
Martin

0 votes

Comments

what server version please?



One answer

Permanent link
Please open a defect on jazz.net.  Select the "My Stuff" link in the upper right hand corner, select workitems tab and click open a defect.

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

Question asked: Dec 19 '13, 8:15 a.m.

Question was seen: 3,950 times

Last updated: Jan 02 '14, 10:52 a.m.

Confirmation Cancel Confirm