Creating a checkbox custom attribute to a custom workitem
I am trying to add a custom checkbox selection attribute for a custom workitem.
For example, a color selection with 3 choices and user can select zero to many colors. Color: [] Greeg [] Yellow [] Red (Note that "[]" meant for displaying a checkbox) To do this, I created a enumeration called "my.enum.color" with Green, Yellow and Red options in process configuration. Then, created a my custom type in "Type and Attributes" called "my.workitemType.myType: My Type" and added the "my.enum.color" as a custom attribute. Then, created a custom editor presentation called "my.workitem.myWorkitem" and added an Overview section and tried to add my Color checkbox selection into the overview page with "Color (Checkbox Multi-Select List) using Add Presentation button. When I did this and test it, all I see is (checked by default and can not be unchecked): Color: my.enum.color.literal.l] My attempt might have been totally wrong from the start. I can not find any good documentation at jazz.net to tell me how to use "Checkbox Multi-Select List" (already read Work Item Customization). Can someone explain how to create a multiselect checkbox step by step please. Thanks! |
2 answers
Aydin,
To obtain such presentation result you need to complete your Checkbox Multi-Select List adding a property to your presentation. Actually, the document https://jazz.net/learn/LearnItem.jsp?href=content/docs/work-items-cust/workitem-editor-presentations.html says: Some presentations can be further configured with properties: In your example, add a new property with: * the Key = * the Value = I hope it will help. Kind regards Philippe Krief Jazz Jumpstart Team |
Philippe,
This works. Thank you so much for your help! Aydin |
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.