When you need to access non built-in attributes of work items
2 answers
For custom attribiutes the same should work. For example, you can use the workItem.getValue("AttributeID") to access the value of a custom attribute.
If you are starting with Attribute customization then I would recommend to go through this although there are several articles available around on this area.
If you are starting with Attribute customization then I would recommend to go through this although there are several articles available around on this area.