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

RTC Enumerations: Ability for Tester to Add a Value

Hello,

I am overseeing the migration of CQ & CC to RTC. 

For RTC, IBM has informed me that RTC enumerations do not allow adding values by users. I am looking for alternative solutions to allow this (e.g., member roles, permissions, using an alternative to an enumeration).

In CQ v8.0.1.9, there are a couple of enumerations (menus) that our team members can add a value when needed. 

Thanks

0 votes


Accepted answer

Permanent link

Matthew,

I looked into a concept for this a few years ago, but did not apply into production so what IBM say maybe true. I was able to add in a New Enumeration list and then specify the Enumeration attribute.

When you add in the new enumeration attribute presentation in Eclipse click the "Allow to add new Literals"

I didn't take the concept into production and I'm not sure if this is supported by IBM.

Anyway - something to think about.

Also you have another option of driving the list using scripting https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_Example

Script Based Value Set Note: You can find general information about script-based attribute customization in the Using scripts for attribute customization section.

You may provide custom value sets using scripts. Values which are permitted for an attribute must be explicitly included in the returned value set.

Here is a skeleton for implementing Value set providers using a script:

dojo.provide("org.example.workitems.providers.ValueSetSkeleton");

(function() {
dojo.declare("org.example.workitems.providers.ValueSetSkeleton", null, {

    getValueSet: function(attributeId, workItem, configuration) {
        var result= [];
        result.push("a");
        result.push("b");
        return result;
    }
});
})();

Regards

Matt

MK Skelton selected this answer as the correct answer

1 vote

Comments

Yeah, I'm leery of allowing it into PROD as well and IBM did confirm yesterday after researching this that it is not an existing an option.  I may submit a RFE for this, but in the meantime, thanks you for this solution :)


One other answer

Permanent link

Another option for you to consider and I think this meets with all your requirements:

Configuring an HTTP filtered value set provider

https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.5/com.ibm.team.workitem.doc/topics/t_configuring_http_filtered_value_set.html

Regards

Matt

0 votes

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
× 7,501
× 6,128
× 1,700
× 1,381

Question asked: Dec 20 '17, 12:31 p.m.

Question was seen: 2,740 times

Last updated: Jan 05 '18, 4:59 p.m.

Confirmation Cancel Confirm