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

Is it possible to set the workitem attribute to mandatory so that it only allows me to save the WI when the attribute has a value different from the default one - workitem editor - RTC Template

Hello,
I am trying to make a workitem attribute mandatory for a state "Closed".

I am able to set it to mandatory by using the "Required Attributes For Type and State", the problem here is, it allows me to still save the workitem with the mandatory field set to default value "Unassigned".

The attribute is of enumeration list type.

Is it possible to set the attribute to mandatory so that it only allows me to save the WI when the attribute has a value different from the default one.

0 votes

Comments
In general that can be done with the advisor you refer to.

There might be issues with (enumeration) list attributes.

In generat for enumeration type attribeutes it is necessary to specify the 'unsasigned' literal as unassignerd literal to allow detecting a mandatory value is missing.It is unclear what the semantic of list attribute types would be here.

Consider opening a support request.

2 votes

Thank you, I missed to set the Unassigned Literal to "Unassigned".

I see that it works now.


Be the first one to answer this question!

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

Question asked: Apr 25 '19, 3:20 a.m.

Question was seen: 702 times

Last updated: Apr 29 '19, 5:14 a.m.

Confirmation Cancel Confirm