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

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.

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

 Thank You Ralph :)


One other answer

Permanent link
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/

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
× 6,122

Question asked: Aug 04 '15, 2:52 a.m.

Question was seen: 2,264 times

Last updated: Aug 29 '15, 10:22 p.m.

Confirmation Cancel Confirm