Can we write plugin for "Only Project Manager can close the request" in work item type.
![]()
Can we write plugin for "Only Project Manager can close the request" in work item type. If yes then also let me know how to write this plugin code.
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 04 '15, 3:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To be honest, that extension is not even necessary. You can revoke the permission to save in the closed states for all roles not being Project Manager.
You should probably familiarize with the basic process configuration options like Process permissions lookup in Rational Team Concert before trying to write extensions. ![]() Ralph Schoon selected this answer as the correct answer
|
One other answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 04 '15, 3:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't know if you can write these kinds of extensions. However here are examples that come pretty close and should give you enough code to achieve what you want if you carefully follow the posts and the enclosed links.
Almost what you want: https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ How to find the roles of a user: https://rsjazz.wordpress.com/2015/06/19/a-custom-condition-to-make-attributes-required-or-read-only-by-role/ |
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.