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

Restricting Change Sets to specific Work Items

Is it possible to restrict users from adding change sets to certain Work Items?

For example, we would only like Defects and Tasks to have change sets associated with them, and not Story Work Items.

0 votes



4 answers

Permanent link
I can't think of a clean and simple way to do this in current RTC release. However, here is one of the ways -

Add a precondition to 'Save Work Item' Operation Behaviour where this check is done. But for this, one must know how to add custom pre-conditions in RTC and also must be familiar with Work Item related APIs.

-Shivank
Jazz Process Team

Is it possible to restrict users from adding change sets to certain Work Items?

For example, we would only like Defects and Tasks to have change sets associated with them, and not Story Work Items.

0 votes


Permanent link
I can't think of a clean and simple way to do this in current RTC release. However, here is one of the ways -

Add a precondition to 'Save Work Item' Operation Behaviour where this check is done. But for this, one must know how to add custom pre-conditions in RTC and also must be familiar with Work Item related APIs.

-Shivank
Jazz Process Team



What is the best way to become familiar with performing a customization such as this? Is there documentation on working with preconditions and APIs?

0 votes


Permanent link
I think a good point would be to start here: http://jazz.net/wiki/bin/view/Main/RtcSdk20. There are examples for creating extensions too. Not sure if there is a precondition example.

Ralph



What is the best way to become familiar with performing a customization such as this? Is there documentation on working with preconditions and APIs?

0 votes


Permanent link
Hi
I think you have to use the other side to enforce this. The change-set link type is owned by the source control component and it is constrained, meaning that only the source control component can alter these links. You can not add (or deny adding) change-set links from the work items side.
Your save precondition would thus be contributed to the 'save change-set' operation (if that exists, maybe someone from source control can shed more light on that) and check the work item type of the other endpoint.

Regards

Marcel
Jazz Work Item team

0 votes

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

Question asked: Oct 21 '09, 6:05 p.m.

Question was seen: 5,644 times

Last updated: Oct 21 '09, 6:05 p.m.

Confirmation Cancel Confirm