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

RTC work items: Is it possible to make an attribute required when an specific resolution code for an action of the workflow is selected?

Lets say I have a RTC project, with a work item type "Defect".
Lets say also I want to make some of the attributes of the "Defect" WI required when a particular Resolution Code (RC) is selected for an action of the Defect workflow.
As an example: when you go from the "Closed" state to the "Validation Complete" state, the available RCs for selection are: "Won't Fix" and "Fixed".
a) If the RC selected is "Won't Fix" , then attributes "A" and "B" become mandatory.
b) If the RC selected is "Fixed" , then attributes "C" and "D" become mandatory.

Is that possible by using the Operation Behavior functionality that comes with Team Configuration of the Process Configuration? - or - Do I need an script for that?

Many thanks in advance.
Vicky

0 votes



One answer

Permanent link
the out of the box required field extension is on the State not the reason code.

one could write a server side plugin to get to the reason code level.

0 votes

Comments

When you say "the reason code", do you mean the "resolution code"?
And what do you mean by "a server side plugin"? I am not familiar with that kind of development.
Many thanks!
Vicky

yes, resolution code.

many of the workitem attributes are not accessible from javascript extensions.
you do have full control from server side plugins

see https://jazz.net/library/article/1000

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
× 6,121

Question asked: Jan 29 '15, 2:41 p.m.

Question was seen: 3,458 times

Last updated: Jan 29 '15, 3:31 p.m.

Confirmation Cancel Confirm