It's all about the answers!

Ask a question

How to restrict delivers to work items that are in progress


Martin Pauly (632) | asked Oct 03 '11, 1:23 p.m.
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

2 answers



permanent link
Ralph Schoon (63.1k33645) | answered Oct 04 '11, 3:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Comments
Susan Hanson commented Feb 17 '13, 10:18 p.m.

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
Ralph Schoon (63.1k33645) | answered Feb 18 '13, 4:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

Your answer


Register or 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.