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

Work Item - Data Validation

I am trying to establish what means are available to validate the content of input fields in a work item. There appears to be a 'follow-up action' facility which seems to be the way forward, however I cannot find any documentation to show how a new action can be created. Perhaps this is the wrong direction!
Any help would be appreciated.

1

2 votes



5 answers

Permanent link
If you want to validate the content of input fields, you probably want a
pre-condition (which aborts the save if the requirements are not
satisfied) rather than a follow-up action. But in either case, take a
look at:
https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide#Adding_New_Operation_Advisors

Cheers,
Geoff

rogscott wrote:
I am trying to establish what means are available to validate the
content of input fields in a work item. There appears to be a
'follow-up action' facility which seems to be the way forward,
however I cannot find any documentation to show how a new action can
be created. Perhaps this is the wrong direction!
Any help would be appreciated.

2 votes


Permanent link
A follow-up: My comment to the effect that "only a failed pre-condition
aborts the operation" applies to client-side process, but not to
server-side process. For server-side process, a failure in either a
pre-condition or a follow-up action will abort the transaction
containing the operation.

Cheers,
Geoff

Geoffrey Clemm wrote:
If you want to validate the content of input fields, you probably want a
pre-condition (which aborts the save if the requirements are not
satisfied) rather than a follow-up action. But in either case, take a
look at:
https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide#Adding_New_Operation_Advisors


Cheers,
Geoff

rogscott wrote:
I am trying to establish what means are available to validate the
content of input fields in a work item. There appears to be a
'follow-up action' facility which seems to be the way forward,
however I cannot find any documentation to show how a new action can
be created. Perhaps this is the wrong direction! Any help would be
appreciated.

2 votes


Permanent link
Is it possible to set up a javascript to run a validation against an iteration end date e.g.:

if Scheduled Finish date > Iteration End Date then Warning

Its possible to get the Planned for Attribute which returns the Iteration name but how do you get hold of the iteration start and end dates?

2 votes


Permanent link
Thanks but the following instructions:

Implement a new advisor by implementing com.ibm.team.process.common.advice.runtime.IOperationAdvisor.
Provide an extension to the operation advisor extension point to declare the new advisor

are not substantiated in any way. How does one implement the IOperationAdvisor and how does one provide an extension.

Can you give me, or point me to, step by step instructions on how to achieve this.

1 vote


Permanent link
For that level of detail, I'll have to defer to the process team ...

Process team: This one's for you (:-).

Cheers,
Geoff

rogscott wrote:
Thanks but the following instructions:

Implement a new advisor by implementing
com.ibm.team.process.common.advice.runtime.IOperationAdvisor.
Provide an extension to the operation advisor extension point to
declare the new advisor

are not substantiated in any way. How does one implement the
IOperationAdvisor and how does one provide an extension.

Can you give me, or point me to, step by step instructions on how to
achieve this.

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

Question asked: Jun 24 '09, 8:11 a.m.

Question was seen: 8,757 times

Last updated: Sep 11 '12, 7:25 a.m.

Confirmation Cancel Confirm