Serverside create link from a WorkItem to a Changeset
![]()
Hi
My task is to create a link between a Workitem and a changeset in a Participant on delivery. I have access to both the workitem and the changeset, and I am able of establishling a link, but the link is not registered as link to a Changeset.
My code looks like this:
IWorkItemServer workItemservice = this.getService(IWorkItemServer.class);
I do get a reference created, but as is actually says on the WorkItemEndPoints.RELATED_ARTIFACT, only as a related artifact. How do I make i proper reference to a Changeset?
Thx in advance
/Erling
|
Accepted answer
![]()
HI
I think I've solved it myself. This code does the trick:
Maybe somebody else but me can use it.
/Erling
Ralph Schoon selected this answer as the correct answer
Comments Thanks for sharing Erling. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Erling, I used your input and the input from https://jazz.net/forum/questions/82384/serverside-create-link-from-a-workitem-to-a-changeset to create some working code and summarized in http://rsjazz.wordpress.com/2012/09/20/the-rtc-workitem-server-link-api-linking-to-work-items-and-other-elements/ . Thank you so much for the example. What did you include in your plug-in.xml file? I keep getting this error when I try to run my participant.
|
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.