It's all about the answers!

Ask a question

Restricting the user (team member-role) not to access completed Workitem


viswanath janakiraman (81224) | asked Apr 22 '13, 1:07 a.m.
edited Apr 22 '13, 3:18 a.m. by Ralph Schoon (63.5k33646)
Hi,
we are in 4.0.0.1 we need to restrict the users of  (Team member -Role)  not to access the WI from below scenarios :

  Remove ability to add new children to WI in the Completed state.
  Remove ability to reopen WI that are parented by a Completed SI.

One answer



permanent link
KrishnaKanth Naik (76511015) | answered Apr 22 '13, 2:40 a.m.
JAZZ DEVELOPER
Hello Viswanath

Yes you can achieve this by using the "Operation Behavior" "Pre-condition" - "Prevent Editing" option.

But this this pre-condition would entirely grey out all the options for a WI in completed state - not just a few attributes.


Comments
1
ankur sharma commented Apr 22 '13, 2:58 a.m.
JAZZ DEVELOPER

And for the 'Remove ability to add new children to WI in the Completed state.' You will to have to provide your own custom preconditionĀ  (https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation). Note that you will have to capture both the Parent and Child WI save. A link can be created from either end.


viswanath janakiraman commented Apr 22 '13, 3:10 a.m.

Hi Krishnakanth ,

The above screen shot is working fine for "Remove ability to add new children to WI in the Completed state."

But itĀ  dosesn't restricting from " Re-open WI that are parented by a Completed WI " .


Ralph Schoon commented Apr 22 '13, 3:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

See the posts on this blog beginning with http://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ if you want to get started with Extending RTC. It will help you coming up to speed if you are new. It provides links back to material on Jazz.net.


Ralph Schoon commented Apr 22 '13, 3:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Like Ankur's answer above you can also create a custom precondition/advisor to prevent reopening a work item based on existing/state of a parent.

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.