Rich text value in attribute
Hello Team,
Could you please suggest if it is possible to trigger a warning message when a particular attribute contains rich text value ?
For example, we have an automation in place for creating a defect fix WI from defect WI based on certain conditions. This automation is failing when a attribute contains rich text value. So, we want users to be made aware that this is as expected because the attribute contains rich text and the defect WI is saved without the creation of the defect fix WI.
Thanks a lot in advance.
Regards,
Divya
One answer
The question is way too vague to answer. It is also not clear, what Rich Text means in this context. It is not clear, why an automation could not create a new work item with rich text. It does not explain what kind of automation that would be.
To my knowledge you could try to use
- JavaScript Attribute customization ( https://rsjazz.wordpress.com/2022/11/25/ewm-attribute-customization-introduction/ ) and try to create a validator. The validator could access the work item attributes in question. Note that JavaScript might be too limited.
- Java Attribute customization, which has fewer limitations accessing the work item attributes, but is harder to deploy.
- Use the JAVA API/SDK. It is unclear how your automation works and there is no way of telling how you could create anything here. Advisors and follow up actions can display a result and prevent operations if needed.