Custom Attributes on Work Item - Make Compulsory
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
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
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 ?
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: