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

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

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

Hi Eric,

I use 3.0.1, and we recently started using 4.0.1. In 3.0.1, I couldn't find anything like "Hide on Workflow state".

If you could give an example in terms of project-area-xml changes, that would be great. I want to achieve these changes programmatically through xml-updates.

Thanks,
Atul

(details were provided under Sametime)

1 vote

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

Permanent link
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

1 vote


Permanent link
How can I do "Hide In Workflow States" ?

Any references on its usage ?

0 votes

Comments

Hide on workflow state is different.
We could consider Hide on creation as a flavor of Hide on workflow state
where creation is a single state (work item is new and unsaved).

Use "Hide on workflow state" to hide / show attributes depending on a certain state of the type's workflow:


Thanks.
Eric.

1 vote

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,952

Question asked: Jan 29 '13, 5:48 a.m.

Question was seen: 5,635 times

Last updated: Jan 30 '13, 4:12 a.m.

Confirmation Cancel Confirm