It's all about the answers!

Ask a question

Approval in Workitem


Malaya Sethi (113552) | asked Jun 25 '15, 6:51 a.m.
we need to restrict the updation of  any filed of workitems with out the approval is done?

How to do that?

One answer



permanent link
Ralph Schoon (63.2k33646) | answered Jun 25 '15, 6:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I can tell, thjis could only be done with
  1. A custom Java work item save advisor/pre-condition
  2. A custom Java condition that makes attributes read only if there is no approval

Comments
Malaya Sethi commented Jun 25 '15, 10:45 a.m.

thanks, but can you please help me to create a new precondition on this? i am not from a developement team, so please provide the steps to do this activity.


Ralph Schoon commented Jun 25 '15, 11:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This is by no means a trivial task and you should have someone who can develop Java code and has some experience with Eclipse to do this. If you don't have someone like that, consider service.

You can start here: https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
Here is an advisor example: https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/

There are examples for the Approval API: https://rsjazz.wordpress.com/?s=approval
You can search that blog or the internet for other API examples.

Your answer


Register or 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.