Link Parent WorkItem to Child Workitem using Parent WorkItem ID
Accepted answer
Hi,
please check out the articles in Ralph Schoons blog: https://rsjazz.wordpress.com/2013/11/06/creating-clm-links-with-back-link/
They have all the code examples you need to achieve this.
If this answer is helpful please mark it accepted.
gg,
Arne
please check out the articles in Ralph Schoons blog: https://rsjazz.wordpress.com/2013/11/06/creating-clm-links-with-back-link/
They have all the code examples you need to achieve this.
If this answer is helpful please mark it accepted.
gg,
Arne
Comments
Hello,
Thanks, it was useful. But I am stuck at pne point. How to get the IWorkitem object using the id of the workitem.
My workitem id is : 45544. How to get its corresposnding IWorkitem obj.
Hi,
to find work items by id or other parameter simply use work item query programmatically. Links (to e.g. Ralph Schoon's blog) and code snippets amply shared like in this post: https://jazz.net/forum/questions/72975/getting-work-items-through-plain-java-api
Probably best to write a utility method such as getWorkItemById(String myId) that uses the query concept.
Please post a new question if you need anything in particular.