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

(Server Side) How to set the workitem Custom attribute to readonly ?

i want to set the workitem custom attribute to readonly .

I identified IAttribute.READ_ONLY_ATTRIBUTE property . but how to set the behavior on the custom attribute.

0 votes



One answer

Permanent link
Hi Anil,
  1. In the Eclipse client's Team Artifacts view, right click on your project area and select Open.
  2. Click on the Process Configuration tab.
  3. Expand Team Configuration
  4. Click on Permissions
  5. In the Permitted actions box, expand Work Items > Save Work Item (server) > Modify the work item
  6. Uncheck the box next to your custom attribute

Be sure that you modify the permissions for every role type.  If a user is permitted the action with *any* of the role types, he will be permitted to do to the action.

0 votes

Comments

Hi Lauren

        Thanks for your reply. Iam looking for the Programmatically setting the attribute behaviour to read only . Iam not seeing any "set" method under IAttribute. Can you please provide some suggestion how to set the "Readonly" behaviour on the Workitem attribute (through server side coding) 

Hi Anil,
I'm not sure how to do what you're asking.  The best I can think of is to point you to https://jazz.net/library/article/997.  Perhaps someone else has some ideas.

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
× 10,938

Question asked: Nov 07 '12, 4:17 p.m.

Question was seen: 4,710 times

Last updated: Nov 08 '12, 11:16 a.m.

Confirmation Cancel Confirm