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 isin 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
I'm currently looking for a way to adjust the process to only allow a deliver with a work item that is
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
2 answers

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
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