Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

value set - Dependent enumeration on owned by

 hi

 
if i select Level1 Agent in a drop down  the owned by should display the members mapped to  Leve1 Agent roles .
i could see the vice versa based on UUId value thee can be an dependent values displayed , but i need the vice versa,.

kindly provide the  solution.

0 votes


Accepted answer

Permanent link

A dependent enumeration does not allow to set a contributor/user. In JavaScript you can not access the users or roles of a project/team area. See https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/

You would at least need Java for this see https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/

kesav d selected this answer as the correct answer

0 votes

Comments
Hi Ralph

What I have used is to set up a "Value Set Script" that uses for example the category value to show some users on a contributor type custom attribute.
It will not be against the "role" but you may hardcode(which is difficult to maintain)  the users using their uuid.

I used something like :

if ( category =="category_uuid") {
  result.push("User1_UUID");
  result.push("User2_UUID");}

Maybe that should work for Kesav.



Hi Cesar,

you can hardcode the user UUID's into a value set, or a configuration, that is true.
 The question was different, but this is a valid suggestion. Requires you to understand how to get the UUID etc.

But you can not access the user records or the roles in JavaScript. You need Java for that. The question asked for roles. https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/ shows the Java API by the way.


Thanks ralph.. One question.. To have extension should we need jazz admin access. In our organization they won't give jazz admin access.

I have rtc client in my system and  doing Java script customisation through that , is it possible for me to add extension or participant from my eclipse client setup.

Unfortunately you need
  1. An admin that has Admin access to the CCM server to deploy the provider for it being available in the Web UI (Nothing to do with Jazz Admin)
  2. To deploy the extension in the eclipse clients to make it available to the Eclipse users
The first one is the bigger issue.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 28 '18, 10:28 a.m.

Question was seen: 1,698 times

Last updated: Jun 28 '18, 2:39 p.m.

Confirmation Cancel Confirm