SCM : Forbid the removal of the minimum required WI link from Change set
Hi Team,
2 answers
To ensure that users cannot remove all work items linked to a changeset after it has been delivered to the stream, you can implement specific constraints within your system. One effective approach is to configure a precondition or advisor that enforces the requirement of having at least one work item linked to each changeset. In IBM DOORS Next Generation (DNG), for example, you can enable a constraint that requires changesets to be linked to work items before they can be delivered. This can be achieved by navigating to rm/admin > Advanced properties and setting the Enable new constraint option (change set linked to a work item) to true. Once this is configured, any attempt to deliver a changeset without an associated work item will be denied. Additionally, if you are using a custom implementation, you can create an advisor that checks for the presence of linked work items when a changeset is being delivered. This advisor can iterate through the links associated with the changeset and verify that at least one valid work item remains linked. If no valid work items are found, the delivery process can be halted with an appropriate error message. This ensures that users cannot inadvertently or deliberately remove all links to work items after delivery, maintaining the integrity of the changeset's association with relevant tasks or issues.
Comments
Although it was not well communicated, I suspect the question was for EWM and not DOORS Next.
I would like to ask for a favor: please do not post blog links that do not have anything to do with the question/answer and are not in English language. I usually remove such links. Especially, if they are obvious ad pages for snake oil.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 19 '24, 3:02 a.m.I am not aware of a built in solution for this.