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

How to restrict delivers to work items that are in progress

Hi,
I'm currently looking for a way to adjust the process to only allow a deliver with a work item that is in progress associated to the change set.
Right now everone who has the grant to create a work item can immediately use it to check in and deliver against it - we however need to control that through the work flow of the work item...

Any ideas how the deliver process can be restricted to work items that are in progress?

Thanks
Martin

0 votes



2 answers

Permanent link
Hi Martin,

this can be done, but it requires a custom extension - an advisor or precondition to be developed, since as far as I know there is none in the product out of the box.

This advisor or precondition would test if the change set is associated with a work item and check if the state of this work item is in the in progress state group and prevent it if that is not the case.

You can find an example that you can start with here: https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample

The source code is attached and can be downloaded here: https://jazz.net/wiki/pub/Main/RTCSDK20_ProcessPreConditionExample/advisor-example.zip

To understand how to set up your environment please follow https://jazz.net/library/article/634

We have discussed some differences in setting it up for 3.0.1 here: https://jazz.net/forums/viewtopic.php?p=65948

0 votes

Comments

Does anyone know if there was anything added to RTC 4.0 that builds this in without needing to write your own advisor or pre-condition?


Permanent link
In 4.x you can use the server precondition "Require Work Items to Match Query". If the query only returns work items in desired states I think you should be able to achieve what you want.

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 03 '11, 1:23 p.m.

Question was seen: 5,745 times

Last updated: Feb 18 '13, 4:23 a.m.

Confirmation Cancel Confirm