Work item URL
![]()
Hi,
Is there a way to get the URL of an IWorkItem object? The URL that takes user directly to the details of the work item. Many thanks. |
Accepted answer
![]()
I found the class com.ibm.team.repository.common.Location in the RTC API, which avoids hard-coding URI fragments. For example:
String workitemURL = Location.namedLocation(workitem, getPublicRepositoryURL()).toAbsoluteUri().toString(); Ralph Schoon selected this answer as the correct answer
|
Comments
I'm looking for an answer to this as well.
don't understand.. the URL of the workitem would open the UI if used in a browser.