RTC Operational Behavior
RTC Operational Behavior precondition not working on previously existing work items.
I created a new enumeration for a compliance question (simple yes or no), added it to the attributes for the work item, then added it as a presentation for the work item. Lastly under operation behaviors, selected it as a required property for certain workflow states. However, it is not being "caught" across the various states.
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Jun 30 '16, 10:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you add a work item attribute it only exists in the new work items created after you added it.
So the attribute is not there for old items and the operation behavior does not trigger. You have to Synchronize the attributes, then it becomes required. Note, I'd suggest to test this in a test system. In the Eclipse Client in the Work Item Types and Attributes editor select the work item type and click on the "Check attributes usages in repository" in the right top corner of the attributes section to synchronize the attributes. Cindy August selected this answer as the correct answer
Comments
Cindy August
commented Jun 30 '16, 11:33 a.m.
This is helpful and is logical. Items previously in required states will need to be updated first. I've run a query to identify the work items that will need to be updated before the Operational Behavior will work properly. Thank you for your answer Ralph. I really appreciate it. C
Ralph Schoon
commented Jun 30 '16, 11:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can also run the synchronize attributes from a query in the Eclipse client. Note that the attribute basically is not there. I don't know right now if it appears if you ope the item. So the sync might be needed.
|
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.