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

No UI for configuring preconditions/followup of com.ibm.team.process.server.saveProjectArea

We are in a situation where we want to implement a precondition when saving "save project area". 
We sadly discovered that "saveTeamArea" operation doesn't apply when saving the project area itself, and there wasn't any other operation that seems to suit in the "Operation behavior" configuration inside the "Process configuration" tab of a project area.

But by doing some searching*, we found out that there is com.ibm.team.process.server.saveProjectArea operation, but it doesn't have a way to be configured through the UI. We tested it and it works. 

Our use case is to disallow the use of certain roles. There are certain roles that we prefer normal users doesn't have (just certain devops), but we still want Area administrators to manage users by themselves (only disallowing assigning those concrete roles).

Is there a reason it is not present in the UI? Can it be added to it in the future?


0 votes

Comments

Can you clarify what your use case is here? Are you trying to prevent a certain role from saving the project? Or are you trying to stop the project from being saved if it includes some type of role?

The second. 

We want only JazzAdmins to be able to assign a certain role, while still allowing team leaders/project managers to modify the members of a project (and assign any roles except that one)



4 answers

Permanent link
I would assume that it is internal and always configured. 
See https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ for how to extend RTC and follow the link "Find Extensions Points and operation ID’s; see this Wiki Entry for extension points and operation ID’s; look into the Interesting Links page for more hints" to have a look which operations you can hook up to.

0 votes

Comments

Thanks for the reply. 

My concern is not how to implement it, but more on why it is hidden. Essentially, because it is harder to maintain the configuration. For knowing if the project is configured with our precondition we would need to check the XML configuration.

I would assume because all non hidden stuff needs to be documented etc. People would ask for more UI options and the like. At some point that s impossible to maintain. You can decide to create an enhancement request for your use case.


Permanent link
 There is no way to configure pre-condition or follow-up action for saveProject operation right now. This is the expected behavior. We don't support it because we have no need for a pre-condition for it.

0 votes

Comments

There are other actions in the UI that have no pre-conditions or follow-up actions (e.g. Display Report (server)). So I did not really see the difference.


Permanent link
We don't support it because we have no need for a pre-condition for it.
We have need of com.ibm.team.process.server.saveProjectArea follow-up action to be able to run our own customization in project areas. ;)
We use it with success, even we notice a strange behavior: if the current user is not a member of the project area, but he belongs to JazzAdmin, he can save the project area (got ovverride permission message) but the follow-up action then is not run.

0 votes


Permanent link

We have a need of this extension point too, because "saveTeamArea" is not called when you e.g. add a user in the project area itself. 

We have the same use case like the thread creator. And therefore we have to use the precondition with "saveTeamArea" and "saveProjectArea".

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
× 10,930
× 70
× 1

Question asked: Dec 17 '13, 6:45 a.m.

Question was seen: 8,278 times

Last updated: Jun 16 '14, 9:00 a.m.

Confirmation Cancel Confirm