Using Attribute From One Task and Display as Read-Only Under Another Task
I have configured Tasks that I have created in RTC. One we'll call "Kinds of Plants" and another one we'll call "Flowering" and another "Non-Flowering". (I know pretty weird but it's the point I need to get across, not my use of examples! ;) ) Anyway, you select the "Kinds of Plants" Task and I have multiple attributes, two being "Num of Fowering" and "Num of Non-Flowering". You enter an integer value under each and "Save". Then you select the "Flowering" task. When that pops up, I want to display the "Num of Flowering" value from the other task in "read-only". I have tried using "Reuse Existing Attribute" assuming that it would be set in one task and displayed in another, but it does not. I tried using "Reuse Exisiting Sections" and therefore "shared content" and only display the one attribute, but that fails too. I know this can be done, but I am missing something. What am I doing wrong? |
2 answers
Ralph Schoon (63.3k●3●36●46)
| answered Jan 04 '18, 5:30 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jan 05 '18, 2:38 a.m. No, Rob,
Comments
Ralph Schoon
commented Jan 04 '18, 5:40 p.m.
| edited Jan 04 '18, 5:41 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can potantially use very complex extensions to make this work. See https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ for an example. You would need custom editor presentations and/or follow up actions to make that work and I would suggest to not go down that path.
Another also likely expensive solution is a custom editor presentation. It would have to calculate the information to display automatically. So you would not really have an attribute, but the data would get displayed. This would be better, because you would not have to save any data when the numbers change. But because you don't have attributes, you could not use the data in queries and reports either.
Rob Olsen
commented Jan 05 '18, 11:03 a.m.
Thanks Ralph. I believe I got confused when I was thinking how I had done something similar before. In a previous modified RTC Project I had attributes that were modifiable under a certain Task type. I provided the customer the capability to then change that Task "type" to a different task in which those attributes were then displayed as "read-only". This would be similar to "Task" and "Defect" types where you can set attributes in one (i.e. Task) and then switch the task type (i.e. Defect) and those attributes would now be displayed there. That's not what I am looking to do in this case, I am not trying to take one record of one task type and switch it to task type.
Ralph Schoon
commented Jan 05 '18, 11:17 a.m.
| edited Jan 05 '18, 11:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I can see how that would work Rob. That would just keep the data and just make the attribute or the presentation read only.
|
Rob, I think you have got confused with attributes and editor presentations, and also where the number comes from.
Comments
Rob Olsen
commented Jan 05 '18, 11:18 a.m.
Thanks Donald. Sounds like what I want to do is not as easy as I had thought. I think I made this too complicated by using "Flowers"! ;) You have the right idea though. I was assuming that I could just use an attribute set in the "parent" task and display that same attribute as "read-only" in the "child" task. Apparently its not that easy. |
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.