Can i restrict editing a field based on delivered change sets
G Moehler (11●2●4●4)
| asked Nov 30 '12, 11:36 a.m.
edited Aug 02 '16, 8:58 p.m. by David Lafreniere (4.8k●7)
I want to fix the "planned for" field as soon as one changeset has been delivered. Is that possible?
|
One answer
There is nothing out of the box to do this. You would have to write your own operation advisor/precondition.
This might be difficult to do however... a change set can get delivered to multiple streams... how does the work item know which stream is the 'one' we would need to 'lock down'? Sounds like you would want to write a precondition on work item save... and check if that 'field' has been modified somehow, and then also check the 'delivery' condition somehow (keep in mind a change set might have been delivered, but then later discarded, or the component could have been replaced, removing it). See the following links for additional information on creating preconditions and operation advisors: https://jazz.net/wiki/bin/view/Main/CustomPreconditionsLandingSite https://jazz.net/library/article/495 https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation |
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.