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

alternate option for "dependent enumeration" configuration in RTC

 We are using RTC 604.  Management want to introduce Domain wise feature Group in a work Item. Since the user knows which domain they are working, we should show only the feature Group belong to that domain. 


We have a master template which is getting inherited to all our programs irrespective of domain. 

For e.g.  we have domain1, domain 2 and domain3. 
For domain 1 - The feature Groups are---- BlueTooth, Wireless, Widget, Illumination
For domain 2 - The feature Groups are----  Sensor , keypad, Ilumination, Remote
For domain 3 - The feature Groups are---- Widget, Sensor, Voice, Audio, Music

I want to have this domain information some where with in RTC. But can't configure this specifically (as a field) for the programs when it is getting created.

So when the user create a defect for the program, somehow the domain information should be fetched and accordingly the feature group list should be shown in the drop down list. 

I am NOT willing to do project specific XML changes.

Please let me know your ideas.

0 votes



3 answers

Permanent link

Mohanraj,

Are you not using Domain "Teams" or "Sub Teams" or Domain "Categories and / or Sub Categories" to manage this level? 

0 votes

Comments

As I mentioned in my question, for each workitem for individual programs we need to select. More over this need to be defined at Master Template which will be inherited to the child project areas.

so using "Team"  or "category" will NOT workout in this case.


Permanent link

If you really have to do it, you can use a script-based value set provider, and within the script use WorkItemAttributes.PROJECT_AREA to determine the "domain".

0 votes


Permanent link

 we have tried the below script, but didn't helped us.


dojo.provide("featuregroup.dojo");

dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes");

(function() {
var WorkItemAttributes= com.ibm.team.workitem.api.common.WorkItemAttributes;

dojo.declare("featuregroup.dojo", null, {

    getValueSet: function(attributeId, workItem, configuration) {
    
        var domain= workItem.getValue(WorkItemAttributes.PROJECT_AREA);
        var functionalblockoptions= [];
        
if ((domain === "xTest-Plugin")) { 
            functionalblockoptions.push("com.visteon.functional.block.literal.l3");
            functionalblockoptions.push("com.visteon.functional.block.literal.l4");
            functionalblockoptions.push("com.visteon.functional.block.literal.l5");
            functionalblockoptions.push("com.visteon.functional.block.literal.l6");
            functionalblockoptions.push("com.visteon.functional.block.literal.l7");
            functionalblockoptions.push("com.visteon.functional.block.literal.l8");
functionalblockoptions.push("com.visteon.functional.block.literal.l9");
            functionalblockoptions.push("com.visteon.functional.block.literal.l10");
}else if((domain === "xTest-Plugin2")) {        
functionalblockoptions.push("com.visteon.functional.block.literal.l11");
functionalblockoptions.push("com.visteon.functional.block.literal.l12");
functionalblockoptions.push("com.visteon.functional.block.literal.l13");
functionalblockoptions.push("com.visteon.functional.block.literal.l14");
functionalblockoptions.push("com.visteon.functional.block.literal.l15");
functionalblockoptions.push("com.visteon.functional.block.literal.l16");
}
functionalblockoptions.push("com.visteon.functional.block.literal.l1");
        return functionalblockoptions;
    }
});
})();

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

Question asked: Feb 15 '18, 8:42 a.m.

Question was seen: 1,836 times

Last updated: Feb 21 '18, 7:30 a.m.

Confirmation Cancel Confirm