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

How to make a precondtion overrulable

Hi.
Our team decided to change the workItemSave requiredProperties precondition
to overrulable. So I added the overrulable="true" attribute to the
precondition in the project area spec, but it just does not seem to have an
effect. I was expecting to see the "overule" button in the Team Advisor now
when saving, but there is no solution section at all.

I was definitey editing the current iteration's behavior section. I could
actually add more required properties and they would be enforced immediately
after saving the spec. Just the overrulable and option attributes did not
seem that have an effect. I am use Beta2a. Am I missing something?

Peter.

<behavior>

<role id="default">

<operation id="com.ibm.team.workitem.operation.workItemSave">

<preconditions>

<precondition id="com.ibm.team.workitem.advisor.requiredProperties"

name="Required Properties"

overrulable="true"

description="A minimum set of properties must be set in order for the team
to know how to classify the workitem.">

<properties workItemTypeCategory="com.ibm.team.workitem.workItemType">

<property id="summary"/>

<property id="category"/>

<property id="duration"/>

<property id="target"/>

</properties>

</precondition>

</preconditions>

</operation>

0 votes



One answer

Permanent link
The work item save operation is a server-side operation. We do not allow
to overrule the preconditions of server side operations. We only allow
that for the preconditions of client-side operations.

Some background: Client side operations are 'optional' in the sense that
the client talking to the Jazz server might not provide some of the
operations specified in the process. Based on this notion of 'optional'
any precondition for a client-side operation is more or less not more
than a hint. Therefore, providing overruling functionality does not bear
any major risk.

Kai
Jazz Process Component



Peter Haumer wrote:
Hi.
Our team decided to change the workItemSave requiredProperties precondition
to overrulable. So I added the overrulable="true" attribute to the
precondition in the project area spec, but it just does not seem to have an
effect. I was expecting to see the "overule" button in the Team Advisor now
when saving, but there is no solution section at all.

I was definitey editing the current iteration's behavior section. I could
actually add more required properties and they would be enforced immediately
after saving the spec. Just the overrulable and option attributes did not
seem that have an effect. I am use Beta2a. Am I missing something?

Peter.

behavior

role id="default"

operation id="com.ibm.team.workitem.operation.workItemSave"

preconditions

precondition id="com.ibm.team.workitem.advisor.requiredProperties"

name="Required Properties"

overrulable="true"

description="A minimum set of properties must be set in order for the team
to know how to classify the workitem."

properties workItemTypeCategory="com.ibm.team.workitem.workItemType"

property id="summary"/

property id="category"/

property id="duration"/

property id="target"/

/properties

/precondition

/preconditions

/operation

0 votes

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

Question asked: Jan 31 '08, 2:08 p.m.

Question was seen: 6,462 times

Last updated: Jan 31 '08, 2:08 p.m.

Confirmation Cancel Confirm