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

prohibit assigning changeset to workitem with status 'done'

Hi,

Is there a way, to prohibit assigning changesets to a closed workitem?

Use case:
After promoting a workitem from dev to test, the user adds a changeset to a closed workitem. These changes need to be promoted as well, but issues arise when promoting the workitem again: 'one or more change sets are not in the source stream'.

Regards,
Bernd.

0 votes

Comments

process configuration --> team configuration --> operation behavior --> save change set links and comments (server)

and then add the precondition "restrict associating to closed work items"

looks like a good way to do it, but after re-opening a workitem, the issue can still occur...



One answer

Permanent link
There is operational behavior that you can configure in the Source control section. The Restrict Associating to Closed Work Items precondition should do what you want.


0 votes

Comments

Hi Ralph,

I tried that option. However... as I put in my comment, it is possible to re-open a workitem. This could still introduce the problem.

What would be a good way to avoid the message 'one or more change sets are not in the source stream' when promoting workitems?

I can't comment on your comment above, but You could look into making the closed state a dead state, or try to prevent the ordinary user to re-open the work item.
Otherwise you can create your own operation advisor that prevents adding change sets to work items on some condition. For example have a flag that "closes" the work item for adding change sets. See an example here: http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/

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
× 1,220

Question asked: Mar 04 '13, 5:29 a.m.

Question was seen: 5,746 times

Last updated: Mar 04 '13, 7:06 a.m.

Confirmation Cancel Confirm