Validate the "Implements Requirement" link in work item in Precondition
Hi All, I am trying to validate the Parent and Child work item should have same requirement linked using Java API in precondition. I am using Implements Requirement link type to link requirement from Doors in both child and parent work item. Any help is much appreciated.
Thanks in advance. |
Accepted answer
here is a link to my custom precondition to enforce Depends On , the second post
https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items you should be able to tell if the workitem is the parent or child be the parent/child link and then see if it has the implements link you are interested in. you should be able to see both workitems at the same time (after following the link).. but I have a question.. how can BOTH workitems 'Implement' the requirement? this is not logical to me.. if one does, then the other cannot. Parveen Patel selected this answer as the correct answer
Comments
Parveen Patel
commented May 18 '16, 7:57 a.m.
Hi Sam, I am able to detect that the Parent and Child have implements link. but I want to validate the requirement link in both the work items should be same. How can achieve this using java api.
sam detweiler
commented May 18 '16, 8:00 a.m.
you have to get the object on the end of the link and compare the two.
|
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.