It's all about the answers!

Ask a question

getPublicRepositoryURL returns the old public URI (Java API)


Martin Wassermann (13864144) | asked Dec 19 '13, 8:15 a.m.
 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

Comments
sam detweiler commented Dec 20 '13, 6:04 a.m.

what server version please?

One answer



permanent link
Abraham Sweiss (2.4k1331) | answered Jan 02 '14, 10:52 a.m.
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.

Your answer


Register or 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.