Can I set operational behaviors that take the value of the attributes into consideration?
I have 2 fields that are enumerations. One is a Drop-Down that is a Yes/No/Not assessed, and one is a "Passed/Failed". "Not assessed" is the Unassigned value for the first one, and it is a required field prior to moving the work item into "Ready".
I have been asked to make it so that if the value of the 1st drop-down says "Yes", then the value in the 2nd attribute must be "Passed" before the work item can move into "Ready" status. I can't find a way to do this just in the Operational Behaviors (that is, without writing an advisor/server-side plugin). Is this possible? Susan |
2 answers
You should be able to use the Dynamic Required Attributes precondition
here you need to write little Scriptlets that return true or false. and attach them to the fields you want managed. Comments
Geoffrey Clemm
commented Nov 16 '12, 12:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note: I converted the followup question into an actual question: https://jazz.net/forum/questions/93961 |
Hello,
please refer to https://jazz.net/library/article/1003/#validators I will also find an example of script based validators here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_Based_Validation then also use https://jazz.net/library/article/1003/#conditions to implement dynamic required attribute (depending on state) Hope it helps. Eric. |
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.