How Can I Get list of user which belongs to a specific team area with JS API.
Hi,
My question is that I want to limit Filed Against field with the list of team areas which user belongs to or has a role. It is very similar to regular usage of Filed Against but vice versa. I mean when user select filed against (team area), owner filed show user list which belongs to team area. I need to have filtered team area list in filed against (or in another filed) when I select user. There are more 100 team areas in project so hard code is not an option. Is there a way to do it with Javascript API or Java API is the only way?
Thank you and have a nice day.
My question is that I want to limit Filed Against field with the list of team areas which user belongs to or has a role. It is very similar to regular usage of Filed Against but vice versa. I mean when user select filed against (team area), owner filed show user list which belongs to team area. I need to have filtered team area list in filed against (or in another filed) when I select user. There are more 100 team areas in project so hard code is not an option. Is there a way to do it with Javascript API or Java API is the only way?
Thank you and have a nice day.
Comments
Matt Muller
Jun 13 '16, 3:05 p.m.Kurtulus,
Good afternoon..
Quick Question - would this be applicable for all users? have you tried to look at the option to "Restrict Category Visibility" in the Project Configuration in the Web for all Team Areas?
Regards
Matt Muller
Kurtulus YILDIRIM
Jun 13 '16, 2:56 p.m.Hi Matt,
This is applicable for all users. I mean all users who don't need to be in the same team area, can assign a WI to the role. The role has only one user. So that Restrict Category Visibility" doesn't seem to be a proper solution.
Thank you.
Don Yang
Jun 13 '16, 11:39 p.m.You may want to look at
Attribute Dependencies (XML) /Dynamic Hierarchies (UI)
in https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript
Kurtulus YILDIRIM
Jun 15 '16, 3:54 a.m.Hi,
When I search it, I found only three way to do it.
1. Create a static list- Dependent Enumeration
2. Use HTTP Filtered Value Set
3. Develop a PlugIn with Java API
So I need to change my question; Can I use HTTP Filtered Value Set option with RTC's own REST API to get list of users who belongs to a team area.
Thank you.