HideIfCreation doesn't work if workitem type is modified
Hi,
Following is the scenario :- a. I create a workitem of type 'Defect' and save it. b. Now, I change its Type to our custom type 'CMVCDefect', and synchronize the editor view, which has custom attributes marked as hidden at creation time. c. The custom attributes marked as "hideIfCreation=true" get visible in the custom tab. I understand that the workitem is not being created, it is being transformed to a different type, which causes the hideIfCreation flag to be ignored. Is there an alternative way to achieve hiding attributes (at creation time) after changing workitem-type ? Thanks, Atul |
Accepted answer
Hello Atul,
I tested your use case using RTC 4.0.1 and found that both Eclipse and Web UI behave as expected. Added a simple boolean and presentation to defect type in a SCRUM PA - Hide On Creation selected 1 - create a task 2 - switch to defect type --> custom attribute is not displayed 3 - save --> custom attribute is displayed Did you test with RTC 4.0.1? Can you do the above test? What is the version you are using? Thanks. Eric. Atul Kumar selected this answer as the correct answer
Comments
Atul Kumar
commented Jan 29 '13, 9:09 a.m.
Hi Eric,
Atul Kumar
commented Jan 30 '13, 4:12 a.m.
Thanks a lot Eric for your quick response. We were able to find a solution with the help of the flag "hideIfInState".
|
2 other answers
I assume when you change the type from existing type to a new type, the existing type would have been initialized and hence already exist in some particular state, you may want to use Hide In Workflow States to set the hiding of the attribute in that corresponding state
|
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.