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

Can not change Contributor list (type) and Duration (type) to readOnly.

My client is having an issue to set an attribute of
[1] Contributor list (type) - Contributor list (kind) and
[2] Duration (type) - Time Duration (Kkind)
to ReadOnly,

We have tested this many times with different configurations & settings but we can not make these attributes to be ReadOnly.
Please see the screen shot of the issue and let me know if there is any other way to make these attributes to be ReadOnly.


1 vote



3 answers

Permanent link
Hi Ryosuke ,

You Can make it read only by adding precondition "Read-Only Attributes For Type and State" in Operation Behavior and set the attribute accordingly.

Regards,
Anurag

1 vote

Comments

Oh, I see. This precondition was added in v4.0 and it works OK. Thank you.
However, my client is using v3.0.1 and there seems to be no equivalent function.

Thank you!


Permanent link
Hi, this is a very interesting question and observation. I tested this with 3.0.1.1 and it appears there is no way to do that in 3.x. I have found some defects for 4.x for example defect 208023  so apparently there are issues with some attribute types.

I tried another approach which was to make the contributor list attribute read only in general, but even that did not fix the issue, unfortunately. The trouble with the estimate could be caused by the fact that the presentation actually is built from several attributes. I have seen issues with that presentation in the past.

The only way how I think you could save this in 3.x would be to create your own operational behavior. An advisor (pre-condition), that checks if the values have changed and prevents from saving the change. See http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ for example code. Please be aware that that is a follow up action and you want to create an advisor. http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ describes an advisor and talks about the differences. The last post is however for a different operation. You want your advisor for the operation used in the first post. The posts have also links to https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations where you can look up the ID's for the operations used.

0 votes

Comments

Hi Ralph,
Thanks for tips!


Permanent link
 Hi Ryosuke,

With v 3.0,below link can be help full to make attributes read only in particular state: 



Regards,
Anurag Rajput

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,502
× 6,130
× 369

Question asked: Mar 12 '13, 3:48 a.m.

Question was seen: 6,540 times

Last updated: Mar 15 '13, 1:34 p.m.

Confirmation Cancel Confirm