Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

SCM : Forbid the removal of the minimum required WI link from Change set

Hi Team,


Background : The SCM changeset is linked to a Task workitem and delivered to the stream. After delivering the changeset to the stream, users are removing the Task workitems. So changeset is not linked to any workitems now.

How can i restrict the user to have atleast one workitem linked to the changeset after it is delivered to Stream.

Removal of workitem is possible from eclipse client as well as in the UI.

Is there any pre-condition or plugin to handle this usecase ?

Thanks in advance.


1 vote

Comments

I am not aware of a built in solution for this.



2 answers

Permanent link

Hi,


There is a precondition "Restrict associating to closed workitems" which blocks adding or removing changesets to workitems when they are closed. Hope this helps in your context!

Regards,
Bernd van Oostrum
MAINBRIDGE

0 votes


Permanent link

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.


0 votes

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.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023
× 7,499
× 1,329
× 1,203

Question asked: Nov 19 '24, 1:22 a.m.

Question was seen: 286 times

Last updated: Nov 29 '24, 10:20 a.m.

Confirmation Cancel Confirm