It's all about the answers!

Ask a question

Custom Attributes on Work Item - Make Compulsory


Alan D (15631311) | asked Oct 29 '10, 7:24 a.m.
Hi

I have created 2 new custom attributes for Work Items on a project area. These custom attributes are both enumerations with an 'Unassigned' value as the default setting. How do I enforce these attributes as mandatory entries - ie, the Work Item cannot be saved unless a value is chosen from the list?

Thanks

3 answers



permanent link
Kim Soederhamn (1.5k24247) | answered Nov 01 '10, 8:23 a.m.
Hi

I have created 2 new custom attributes for Work Items on a project area. These custom attributes are both enumerations with an 'Unassigned' value as the default setting. How do I enforce these attributes as mandatory entries - ie, the Work Item cannot be saved unless a value is chosen from the list?

Thanks



did you try setting the required properties precondition on save workitem in the operational behavior ?

permanent link
Alan D (15631311) | answered Nov 01 '10, 8:28 a.m.
did you try setting the required properties precondition on save workitem in the operational behavior ?


Yes! And it worked. Meant to post the below on Friday, but the pub happened instead.

Open Project Area.
Select Process Configuration tab.
Select Team Configuration --> Operation Behaviour
In the operation Behaviour Table select Work items --> Save Work Item.
Choose a role in the table (I chose 'everyone')
Select Pre-conditions below the table.
Click on 'Required Properties' (or Add Required Properties if it doesn't exist)
Select 'com.ibm.team.workitem.workItemType' in the 'Category or Type' table, and click 'Edit'.
Choose the 'Required Fields' from the choices available.

:wink:

permanent link
Amitabha Nath (757) | answered Jun 27 '12, 3:06 a.m.

Awsome... It worked for me ...Thanks

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.