Product code and work item displayed as a single field
I am looking to create a field that can be included in a query that simply combines the work item and a product code as something like ABC-4789. Is it possible to write your own custom attribute? Alternatively it looks like I could add a string field attribute and write an Operation Participant triggered on work item save to update a field with this information. And a third idea would be to write a javascript field validator, but that I think that may not run in all cases where a work item is created.
Any thoughts appreciated! |
Accepted answer
One other answer
Ralph Schoon (63.5k●3●36●46)
| answered Sep 20 '13, 4:31 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
JavaScript would not work as far as I can tell. See the limitations described in https://jazz.net/library/article/1093 Lab 5. It might be possible to use a calculated value using Java see http://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ but it would have to grab the data from a string field and a work item type attribute.
Comments Hello Ralph,
what are the limitations you're referring to?
?
Thanks
Hi Eric,
Thank you Ralph and Eric!
Glad we could help, Vince.
(Thanks Ralph)
|
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.