Can I access a attribute value of a workitem from another workitem?
I have a scenrio where we have created a custom workitem which captures details of a users and his skill .As part of the page the reviewer assigns him a Skill Score .
Issue : We will be capturing the data for various users in a department using the workitem . Now we need to find a combined Skill score of a department . For the same we need to access the skill score of all workitems and calculate the final value .
How can I access skill Score from all workitems ?(using scipts ?)
Please help suggest?
One answer
JavaScript, as far as I am aware, only provides access to the attribute values of the current work item. Specifically what can be accessed is described here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization
You can try to write a Java Based attribute customization. The Java API provides more access to data of that work item. I am not sure how far that carries with respect to e.g. following links to other work items.
You can find what I explored here:
https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/
You can try to write a Java Based attribute customization. The Java API provides more access to data of that work item. I am not sure how far that carries with respect to e.g. following links to other work items.
You can find what I explored here:
https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/
Comments
sam detweiler
Jun 29 '14, 3:58 p.m.Ankit Jaiswal
Jun 29 '14, 6:22 p.m.sam detweiler
Jun 29 '14, 7:44 p.m.Donald Nong
Jul 04 '14, 12:35 a.m.