How to programmatically construct the absolute URI for an object like snapshot?
Team,
this is a self-answered question. Problem: Needing to construct a Related Artifact link to the absolute URI of a snapshot. Given are: IBaselineSet snapshot ITeamRepository teamRepository Needed: URI snapshotUri |
One answer
This code snipped will solve the above scenario:
import com.ibm.team.repository.common.Location; |
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.