Apply changes to Editor Presentation to current and future work items
![]()
I have not been able to get RTC to apply changes to an Editor Presentation to current and future work items and am looking for advice. What I did was the following:
|
3 answers
![]()
Hello Margaret,
from the Eclipse Client, create a query that will return the work items you need to sync up
run the query
bulk select all work items
right-click the "work item type" column - most left-hand by default
in the pop-up menu, select "Synchronize Attributes"
This will sync' up work items with the new presentation, attributes.
(this has to be performed for ALL existing work items impacted by some modifications you may have performed around the work item attributes / presentation)
Hope it helps.
Eric.
|
![]()
You can do it in the Jazz Plain Java client. Just check out Ralph Schoon's blog post on Using an Expression to Synchronize Attributes for Work items of a Specific Type That would allow you to do this without needing the Eclipse client.
|
Comments
I've found that stuff is cached for a while after the process configuration is changed. Try a fresh browser session with your RTC repository ( logout / login is usually sufficient).
I've tried logging out and in. I actually made the change early last week, so I have logged in and out many times since then. But thanks!
Just wanted to close the loop on this question/answers and let you know about a potential problem I encountered.
Using the Eclipse client I created a query, found the WIs I wanted to synchronize and invoked the synchronize feature ... but nothing happened.
I decided to start over. On the web app, I deleted the custom attributes I had added to the presentation, saved, then re-added the attributes. ... story continued in next comment....
As I was re-adding the attributes, I noticed that in the list of attributes for my work item type, the custom attribute I had added to the default WI Editor Presentation was not present in that list. I then figured out that although I had created the custom attribute, I also needed to assign it to the work item type, which I had not done. I think because Editor Presentations are project level things, I could add a Project level custom attribute to an Editor Presentation. But because the work item type didn't know about the Project level custom attribute, my attempts to synch with the Editor Presentation did not result in the work item thereafter containing the custom attribute. I am kind of surprised that the synch operation doesn't report on this type of inconsistency, if this is what is really going on. Can someone comment on whether I am write about what happened here, and should I be filing an enhancement request to produce a warning when attributes used on an Editor Presentation are not known to a work item type? I think this is a rather subtle thing for a user to figure out without a warning. I only discovered it by accident.