How to restrict a value for a custom att of type WorkItem?
Hi,
|
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Aug 05 '22, 2:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Aug 05 '22, 2:15 a.m. The documented APIs do not allow attribute customization, to detect more complex information about complex items such as work items apart from the ID and the Item display name, for all I know. It is possible to use more internal and unsupported API to get this information if attribute customization is executed in the browser. This is discouraged and only works in the Web browser, not in the EWM Eclipse client.
I would prefer if there was a mechanism to configure a query or filter for such attributes in the editor presentation to have better user support, but that would be an enhancement request. In the short term, I would look at an advisor/precondition. I have published examples on my blog: https://rsjazz.wordpress.com/?s=advisor&submit=Search
Stephan Gambke selected this answer as the correct answer
|
One other answer
Use Dojo scripting on the event of Change of another attr. If WorkItem is not Defect, pop up a message.
Or Use a Pre-Condition plug-in at save of work item. needs java development.
Refer Jazz.net for more information on Script based attributes in particular & Work Item Customization in General.
|
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.