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

How to have "Filed against" attribut for each workitem in my project area?

 Hi all, 

I've got a project are with several teams so several categories. I would like to perform the following operation: when creating a workitem, I would like to fill in the "Filed against" attribute with a default value. I've created several default values in "Attribute customization">"Default values". Then in "Types and attributes", I select the workitem and modity the "Filed against" attribute so that it takes a default value. When I want to repeat the action for another workitem, I discover that "Filed against" attribute takes the values of the previous one. The behavior is like that the "Filed against" is common to all workitems.

Thanks for your help

0 votes

Comments

the filed against field definition IS common to all workitems.  you would have to use a calculated value script, which would have to check the workitem type and project and ..  whatever else makes sense

the default provider doesn't give you that level of control

1 vote



One answer

Permanent link
Work Item attribute customization is currently not aware of the work item type and does not allow to configure customizations bound to types. There is an enhancement request: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=213840

However, in a JavaScript based attribute customization, you can detect the type and return values dependent on that. This is, as far as I can see the only option you have today. To get the value to return, the easiest way is to run a script and print the current value in the log. For some values (e.g. text), you can simply specify text. Other values require an ID to be passed. I can't tell of off the top of my head, what filed against expects.

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
× 12,067

Question asked: Nov 21 '14, 11:46 a.m.

Question was seen: 4,330 times

Last updated: Nov 24 '14, 4:24 a.m.

Confirmation Cancel Confirm