It's all about the answers!

Ask a question

When defining RTC work item properties, is there a way to make the "team area list" only display the list of team areas under the current project area?


DAVID GUO (35413) | asked May 23 '19, 2:38 a.m.

When defining RTC work item properties, is there a way to make the "team area list" only display the list of team areas under the current project area?


By default, this property lists a list of team areas under all project areas that the current user is participating in when creating a new work item.


Please Look at the three screenshots listed below.

Thanks.

One answer



permanent link
Ralph Schoon (63.1k33646) | answered May 23 '19, 8:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I am not aware of a simple solution. 


For all I can tell, attribute customization could be used https://jazz.net/wiki/bin/view/Main/AttributeCustomization. You would have to define a custom value set. But it would have to be the Java based version if this is supposed to work in all clients. There is no documented API for JavaScript to access the team areas. There might be hints here in the forum. 

For the Java based approach, you might want to look here: https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ because there is a lot of code that should be useful. https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/ is another example, that actually iterates the team area hierarchy.

Your answer


Register or to post 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.