RTC: how to make mandatory the "Duplicate Of" link?
I need to enable this behavior in RTC (version 4.0.6):
Can this feature be re-activated? |
Accepted answer
Luca, since the validation is still hard-coded I found that changing the state id to that of the original workflow forces the check to happen ("r2" if I remember correctly).
Luca Martinucci selected this answer as the correct answer
Comments
Luca Martinucci
commented Mar 04 '15, 4:57 a.m.
Luis, are you saying that I should change the state id of the "Closed" state to "r2"? (it currently "s5" in the bugzilla workflow I am using for Defects).
I meant to say the resolution id. "r2" is the resolution id for state Closed - Duplicate. It seems there is a previous check too, the workflowid must match the defect workflow id or "bugzillaWorkflow" About enabling this in other item types, they would need the same workflowDefeinition id, so only "bugzillaWorkflow" or the same id of the defect type. |
2 other answers
We have never been able to get this to work for anything that we have customized and therefore, have written a custom Validator to check for this.
Comments
Donna Thomas
commented Mar 04 '15, 12:02 p.m.
Hi there - can you share what that validator looks like? Script or ?
1
Susan Hanson
commented Mar 04 '15, 12:08 p.m.
Our resolution for duplicate all end with ".duplicate" in our configuration, so the validator does this:
|
the check for this is hard coded to the IBM workitem type ID.
I opened enhancement 242467 to move this function to an external function Comments
Luca Martinucci
commented Jan 21 '15, 3:19 a.m.
Sam, are you saying that this behavior is "inherent" to a workitem type?
|
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.